diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 82844e1..e434dcc 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,11 +4,11 @@
-
-
-
+
+
+
+
-
diff --git a/Log/log_file.log b/Log/log_file.log
index 6b198bf..8532f95 100644
--- a/Log/log_file.log
+++ b/Log/log_file.log
@@ -1001039,3 +1001039,3080 @@ 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_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSR6VAbmaEugrFTHaoNf86P",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674246147,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_nQFFkeSz6iS0LZ message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [20/Jan/2023 23:49:01] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+DEBUG:filelock:Attempting to acquire lock 1801443533456 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1801443533456 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 1801443533456 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1801443533456 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 1801443535504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1801443535504 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 1801443535504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1801443535504 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 1801447694672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1801447694672 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 1801447694672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1801447694672 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 09:53:29.446958 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 09:53:29.446958 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 09:53:29.446958 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 09:53:29.446958 : ++ FLASK PORT 5001 ++
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2280955240464 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2280955240464 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2280955240464 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2280955240464 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 2280955314768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2280955314768 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2280955314768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2280955314768 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2280955324048 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2280955324048 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2280955324048 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 09:53:42.738223 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 09:53:42.738223 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 09:53:42.738223 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 09:53:42.738223 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Lock 2280955324048 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+INFO:root:2023-01-21 09:53:43.188128 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:43.190127 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:43.191128 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:43] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:43] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:43] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 09:53:43.443575 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:43.445567 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:43] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 09:53:43.829170 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:43] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 09:53:44.144308 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:44.144308 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:44.145305 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:44.146304 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:44.148313 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 09:53:44.156305 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 09:53:44.474350 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:44.476364 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:44.476364 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:44.477346 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:44.478358 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:44.478358 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 09:53:44.801827 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:44.801827 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:44.802886 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:44.802886 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:44.803946 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 09:53:44.803946 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 09:53:45.122412 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 09:53:45] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+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 1742574333776 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1742574333776 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 1742574333776 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1742574333776 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 1742574453200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1742574453200 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 1742574453200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1742574453200 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 1742575581712 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1742575581712 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+INFO:root:2023-01-21 10:04:52.865857 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+DEBUG:filelock:Attempting to release lock 1742575581712 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:04:52.865857 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:04:52.867371 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:04:52.867371 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Lock 1742575581712 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 2390005001936 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2390005001936 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2390005001936 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2390005001936 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 2390005003984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2390005003984 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2390005003984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2390005003984 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2390006367248 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:05:11.359375 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:05:11.360378 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:05:11.360378 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:05:11.360378 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Lock 2390006367248 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2390006367248 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2390006367248 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 1727068822928 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1727068822928 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 1727068822928 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1727068822928 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 1727085820112 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1727085820112 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 1727085820112 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1727085820112 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 1727085820816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:06:34.567056 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:06:34.567056 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:06:34.567056 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+DEBUG:filelock:Lock 1727085820816 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:06:34.568025 : ++ 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 1727085820816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1727085820816 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 2507226865424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2507226865424 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2507226865424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2507226865424 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 2507296633104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2507296633104 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2507296633104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2507296633104 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2507298060048 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:06:51.813189 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:06:51.813189 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:06:51.813189 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+DEBUG:filelock:Lock 2507298060048 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:06:51.813189 : ++ 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 2507298060048 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2507298060048 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 2188350221904 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2188350221904 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2188350221904 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2188350221904 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 2188350341584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2188350341584 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2188350341584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:07:24.827754 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:07:24.827754 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:07:24.827754 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:07:24.827754 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Lock 2188350341584 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2190146162256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2190146162256 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2190146162256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2190146162256 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 2570718687568 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2570718687568 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2570718687568 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2570718687568 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 2570718822928 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2570718822928 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2570718822928 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2570718822928 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2570719776976 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2570719776976 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+INFO:root:2023-01-21 10:08:35.403384 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:08:35.403384 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:08:35.403384 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:08:35.404385 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Attempting to release lock 2570719776976 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2570719776976 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 2421883826448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2421883826448 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2421883826448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2421883826448 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 2421883945936 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2421883945936 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2421883945936 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2421883945936 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2421810713808 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:08:56.664712 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:08:56.664712 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:08:56.664712 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+DEBUG:filelock:Lock 2421810713808 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:08:56.665711 : ++ 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 2421810713808 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2421810713808 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 2199790616464 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2199790616464 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2199790616464 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2199790616464 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 2200102648592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2200102648592 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2200102648592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2200102648592 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:09:20.063867 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:09:20.063867 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:09:20.064850 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:09:20.064850 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Attempting to acquire lock 2199767242384 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2199767242384 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2199767242384 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2199767242384 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 2508385051408 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2508385051408 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2508385051408 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2508385051408 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 2508385157840 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2508385157840 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2508385157840 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2508385157840 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:09:39.859797 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:09:39.859797 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:09:39.859797 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:09:39.859797 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Attempting to acquire lock 2508322496016 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2508322496016 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2508322496016 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2508322496016 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 1451999289680 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1451999289680 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 1451999289680 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1451999289680 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 1451999363792 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1451999363792 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 1451999363792 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:09:52.853026 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:09:52.853026 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:09:52.853026 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:09:52.853026 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Lock 1451999363792 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 1452000876368 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1452000876368 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 1452000876368 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1452000876368 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 3118958261072 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3118958261072 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 3118958261072 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3118958261072 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 3118958263312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3118958263312 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 3118958263312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3118958263312 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:10:05.448315 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:10:05.448315 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:10:05.449320 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:10:05.449320 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Attempting to acquire lock 3118958535312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3118958535312 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 3118958535312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3118958535312 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 2951822585552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2951822585552 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2951822585552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2951822585552 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 2951822704976 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2951822704976 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2951822704976 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2951822704976 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2951825887056 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:10:52.360433 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:10:52.360433 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+DEBUG:filelock:Lock 2951825887056 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:10:52.360433 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:10:52.361435 : ++ 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 2951825887056 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2951825887056 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 2124757261648 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2124757261648 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2124757261648 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2124757261648 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 2124757353104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2124757353104 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2124757353104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2124757353104 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2124757446352 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:11:53.540418 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:11:53.540418 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+DEBUG:filelock:Lock 2124757446352 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:11:53.540418 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:11:53.541430 : ++ 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 2124757446352 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2124757446352 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 1619866869968 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1619866869968 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 1619866869968 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1619866869968 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 1619866960400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1619866960400 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 1619866960400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1619866960400 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 1619866960656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1619866960656 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+INFO:root:2023-01-21 10:12:45.532815 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:12:45.532815 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:12:45.532815 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:12:45.532815 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Attempting to release lock 1619866960656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1619866960656 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 2583227163472 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2583227163472 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2583227163472 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2583227163472 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 2583227166160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2583227166160 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2583227166160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2583227166160 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2583230953424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2583230953424 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+INFO:root:2023-01-21 10:16:07.828320 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:16:07.828320 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:16:07.828320 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:16:07.828320 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Attempting to release lock 2583230953424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2583230953424 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2405161149136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2405161149136 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2405161149136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2405161149136 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 2405161239632 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2405161239632 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2405161239632 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2405161239632 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:16:15.440895 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:16:15.440895 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:16:15.440895 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:16:15.440895 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Attempting to acquire lock 2405221039504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2405221039504 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2405221039504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2405221039504 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+INFO:root:2023-01-21 10:16:17.541007 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:16:18.209452 : partner_login Connexion partnair mysytraining@gmail.com : OK, Date : 2023-01-21 10:16:17.542094 , _id = 638139d0934a818b1f6f85f7
+INFO:root:2023-01-21 10:16:18.214469 : partner_login Connexion partener_token : OK , _id = 63813a72b4c6b1dce20a0481
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:18] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:16:18.368533 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:16:18.370531 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:16:18.373578 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:18] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:16:18.379581 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:18] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:16:18.606298 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:18] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:16:21.042902 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:16:21.045924 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:16:21.048945 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16: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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSR6VAbmaEugrFTHaoNf86P",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674246147,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_KWugBFbFOokBxh message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:21] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:16:34.419144 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:16:34.422142 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:16:34.424140 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:16:34.428144 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:34] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:34] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSR6VAbmaEugrFTHaoNf86P",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674246147,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_HM5LjgHhjYwUam message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:34] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:16:34.866718 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:16:34.872710 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:34] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:16:34.889720 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSdBfAbmaEugrFTPGQNd0Fw",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674292595,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674292595,\n "currency": "eur",\n "current_period_end": 1676970995,\n "current_period_start": 1674292595,\n "customer": "cus_MrtgqQxPM3z229",\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_ND3I0Zalncbjcm",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674292595,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSdBfAbmaEugrFTPGQNd0Fw",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSdBfAbmaEugrFTPGQNd0Fw"\n },\n "latest_invoice": {\n "id": "in_1MSdBfAbmaEugrFT8BKkaLlV",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674292595,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDNJQUswTklSQ243N0RpR0dOczZXczh3YVpNRjhoLDY0ODMzMzk202003utlnaxq?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDNJQUswTklSQ243N0RpR0dOczZXczh3YVpNRjhoLDY0ODMzMzk202003utlnaxq/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSdBfAbmaEugrFThM4JsM8J",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676970995,\n "start": 1674292595\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSdBfAbmaEugrFTPGQNd0Fw",\n "subscription_item": "si_ND3I0Zalncbjcm",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSdBfAbmaEugrFT8BKkaLlV/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0404",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSdBfAbmaEugrFT0TTb81hd",\n "object": "payment_intent",\n "amount": 1100,\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_3MSdBfAbmaEugrFT0TTb81hd"\n },\n "client_secret": "pi_3MSdBfAbmaEugrFT0TTb81hd_secret_an8VtLy7jdG3OMmykpwZe8Usp",\n "confirmation_method": "automatic",\n "created": 1674292595,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSdBfAbmaEugrFT8BKkaLlV",\n "last_payment_error": 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": 1674292595,\n "period_start": 1674292595,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674292595,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSdBfAbmaEugrFTPGQNd0Fw",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674292595\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674292595,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_oo3C7a0Y9Tz8xi message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:36] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:16:38.062503 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n
\n\t\n\t\t

\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoire
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_23100065\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\t\n\t\t\t\t\t\tDate de facture: 21/01/2023 | \n\t\t\t\t\t\tDate échéance : 21/01/2023 | \n\t\t\t\t\t
\n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_00zMDi\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tDescription | \n\t\t\t\t\t\t\tQuantité | \n\t\t\t\t\t\t\tPrix unitaire | \n\t\t\t\t\t\t\tMontant | \n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tStandard | \n\t\t\t\t\t\t\t1 | \n\t\t\t\t\t\t\t50 | \n\t\t\t\t\t\t\t50.0 | \n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\n\t\t\t\t
\n\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t | \n\t\t\t\t\t | \n\t\t\t\t\tMontant HT: | \n\t\t\t\t\t50.0 | \n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t\t\t | \n\t\t\t\t\t | \n\t\t\t\t\tTVA 20% : | \n\t\t\t\t\t10.0 | \n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t\t\t | \n\t\t\t\t\t | \n\t\t\t\t\tMontant TTC : | \n\t\t\t\t\t60.0 | \n\t\t\t\t
\n\t\t\t
\n\n\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\n\n\n\t\t
\n\n\t
\n\t
\n\t\n\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_23100065.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): 0xf054e090
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0
+DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
+INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
+DEBUG:paramiko.transport:=== Key exchange possibilities ===
+DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
+DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
+DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:client lang:
+DEBUG:paramiko.transport:server lang:
+DEBUG:paramiko.transport:kex follows: False
+DEBUG:paramiko.transport:=== Key exchange agreements ===
+DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
+DEBUG:paramiko.transport:HostKey: ssh-ed25519
+DEBUG:paramiko.transport:Cipher: aes128-ctr
+DEBUG:paramiko.transport:MAC: hmac-sha2-256
+DEBUG:paramiko.transport:Compression: none
+DEBUG:paramiko.transport:=== End of kex handshake ===
+DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo
+DEBUG:paramiko.transport:Switch to new keys ...
+DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
+DEBUG:paramiko.transport:Attempting password auth...
+DEBUG:paramiko.transport:userauth is OK
+INFO:paramiko.transport:Authentication (password) successful!
+DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
+DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
+DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
+DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
+DEBUG:paramiko.transport:Secsh channel 0 opened.
+DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
+INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3)
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100065.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100065.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_23100065.pdf')
+INFO:root:2023-01-21 10:16:44.384519 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_23100065.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100065.pdf EST OKKKK
+INFO:paramiko.transport.sftp:[chan 0] sftp session closed.
+DEBUG:paramiko.transport:[chan 0] EOF sent (0)
+DEBUG:paramiko.transport:EOF in transport thread
+INFO:root:2023-01-21 10:16:44.385519 : Impression facture N° FACT_23100065 OK
+INFO:root:2023-01-21 10:16:44.417065 : UpdataPartnerRankingClass - Le RANKING de 11 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-21 10:16:44.391516', 'isalaune': '1'}
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:44] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:16:44.488062 : 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_3MSdBfAbmaEugrFT0TTb81hd/confirm
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_card_visa
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MSdBfAbmaEugrFT0TTb81hd/confirm response_code=200
+DEBUG:stripe:body='{\n "id": "pi_3MSdBfAbmaEugrFT0TTb81hd",\n "object": "payment_intent",\n "amount": 1100,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 1100,\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_3MSdBfAbmaEugrFT0GntsNve",\n "object": "charge",\n "amount": 1100,\n "amount_captured": 1100,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MSdBfAbmaEugrFT0cMzabni",\n "billing_details": {\n "address": {\n "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 "calculated_statement_descriptor": "Stripe",\n "captured": true,\n "created": 1674292605,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\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_1MSdBfAbmaEugrFT8BKkaLlV",\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": 5,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MSdBfAbmaEugrFT0TTb81hd",\n "payment_method": "pm_1MSdBoAbmaEugrFTqf0JYafh",\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": "US",\n "exp_month": 1,\n "exp_year": 2024,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "installments": null,\n "last4": "4242",\n "mandate": null,\n "network": "visa",\n "three_d_secure": null,\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKP7arp4GMgYLEjy6Nvk6LBZs6dWlXJJHGKJdoSWEZCZgajDGKlbtTsi3jLgBVdl5EQnXfvwhPf2DN9rL?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_3MSdBfAbmaEugrFT0GntsNve/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_3MSdBfAbmaEugrFT0TTb81hd"\n },\n "client_secret": "pi_3MSdBfAbmaEugrFT0TTb81hd_secret_an8VtLy7jdG3OMmykpwZe8Usp",\n "confirmation_method": "automatic",\n "created": 1674292595,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSdBfAbmaEugrFT8BKkaLlV",\n "last_payment_error": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MSdBoAbmaEugrFTqf0JYafh",\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_UuDau8UIlALrQ9 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:46] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:16:55.256740 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:16:55.260136 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:16:55.264208 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:16:55.265204 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:16:55.267208 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:16:55.271211 : 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_MrtgqQxPM3z229/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:55] "POST /myclass/api/get_invoice_by_customer/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:root:2023-01-21 10:16:55.281213 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_phwpKPEbFhNzCR message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:55] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_tv4nJOhIrhRi91 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:55] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:16:56.757280 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:16:56.759359 : 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_MrtgqQxPM3z229/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:root:2023-01-21 10:16:56.767480 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_wfo0yEdwmcYcRO message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:16:57] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:17:11.313193 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:17:11.315192 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:17:11] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:17:11.319207 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:17:11.324198 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:17:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:17:11] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:17:11.786900 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:17:11] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:17:15.926180 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:17:15.928180 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:17:15.932180 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:17:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Jyg1L4O29v7kdT message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:17:16] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:17:26.735977 : 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_1MSdBfAbmaEugrFTPGQNd0Fw
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=cancel_at_period_end=True
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MSdBfAbmaEugrFTPGQNd0Fw response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSdBfAbmaEugrFTPGQNd0Fw",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674292595,\n "billing_thresholds": null,\n "cancel_at": 1676970995,\n "cancel_at_period_end": true,\n "canceled_at": 1674292646,\n "collection_method": "charge_automatically",\n "created": 1674292595,\n "currency": "eur",\n "current_period_end": 1676970995,\n "current_period_start": 1674292595,\n "customer": "cus_MrtgqQxPM3z229",\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_ND3I0Zalncbjcm",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674292595,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSdBfAbmaEugrFTPGQNd0Fw",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSdBfAbmaEugrFTPGQNd0Fw"\n },\n "latest_invoice": "in_1MSdBfAbmaEugrFT8BKkaLlV",\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674292595,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_pvvv9wYrUvQuVt message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:17:28] "POST /myclass/api/stop_strip_subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:17:46.276452 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:17:46.278448 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:17:46.280450 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:17:46] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:17:46.286455 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:17:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:17:46] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:17:46.760813 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:17:46] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:17:49.186781 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:17:49.189781 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:17:49.192782 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:17:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_fgiemJJHGtPTRO message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:17:49] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2427282544656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2427282544656 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2427282544656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2427282544656 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 2427309260496 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2427309260496 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2427309260496 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2427309260496 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2427309495120 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2427309495120 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+INFO:root:2023-01-21 10:22:47.552155 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+DEBUG:filelock:Attempting to release lock 2427309495120 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:22:47.552155 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:22:47.552155 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:22:47.552155 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Lock 2427309495120 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+INFO:root:2023-01-21 10:24:27.383652 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:24:27.385653 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:24:27.392659 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:24:27] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_97znVqNGoEE7wq message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:24:27] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:25:10.013654 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:25:10.015652 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:25:10.018652 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:25:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_a6aoR4tW2H3RUa message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:25:10] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:26:40.832114 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:26:40.834109 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:26:40.838114 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:26:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_8sLiNmK7hSB1fb message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:26:41] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:26:55.122868 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:26:55.125873 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:26:55.126867 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:26:55] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:26:55.132871 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:26:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:26:55] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:26:55.590173 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:26:55] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:26:57.603551 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:26:57.606550 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:26:57.609553 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:26:57.611560 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:root:2023-01-21 10:26:57.612562 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:26:57] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:26:57.616073 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:root:2023-01-21 10:26:57.619090 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:26:57] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:26:57] "POST /myclass/api/get_invoice_by_customer/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:root:2023-01-21 10:26:58.910386 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:26:58.913388 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:26:58.915903 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:26:58] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_e8gkZ6DpsNw928 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:26:59] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_UP7JyDggfVD7eX message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:26:59] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_htNcn8Xu56Q09A message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:26:59] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:27:54.624686 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:27:54.627693 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:27:54.631691 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:27: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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_TnKdZrNdzrKLlk message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:27:55] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:27:57.094828 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:27:57.098844 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:27:57] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:27:57.101843 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:27:57.107847 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:27:57] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:27:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:27:57.715523 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:27:57] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:30:24.271717 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:30:24.274721 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:30:24] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:30:24.277722 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:30:24.285927 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:30:24] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:30:24] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:30:24.962900 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:30:24] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:31:13.540405 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:31:13.542404 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:31:13.545406 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:31:13] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:31:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:31:13.553400 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:31:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:31:14.374658 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:31:14] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:31:58.868126 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:31:58.871123 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:31:58.875122 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:31:58] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_FTL9YppEgydgNB message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:31:59] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:32:06.576993 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:32:06.582806 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:32:06.583817 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:32:06] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:32:06.586983 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:32:06] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_L7SpFkxyVfMd39 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:32:06] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:32:07.031344 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:32:07.037338 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:32:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:32:07.070409 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSdQhAbmaEugrFT5yMD195Z",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674293527,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674293527,\n "currency": "eur",\n "current_period_end": 1676971927,\n "current_period_start": 1674293527,\n "customer": "cus_MrtgqQxPM3z229",\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_ND3XdAabSJLsth",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674293527,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSdQhAbmaEugrFT5yMD195Z",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSdQhAbmaEugrFT5yMD195Z"\n },\n "latest_invoice": {\n "id": "in_1MSdQhAbmaEugrFTrmcztgOx",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674293527,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDNYUHBKeVp3VlVhdjJpZlcwOGZzUHo2YVc2ZDIzLDY0ODM0MzI40200zK2Z25Lc?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDNYUHBKeVp3VlVhdjJpZlcwOGZzUHo2YVc2ZDIzLDY0ODM0MzI40200zK2Z25Lc/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSdQhAbmaEugrFTRIo5qElI",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676971927,\n "start": 1674293527\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSdQhAbmaEugrFT5yMD195Z",\n "subscription_item": "si_ND3XdAabSJLsth",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSdQhAbmaEugrFTrmcztgOx/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0405",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSdQhAbmaEugrFT1W36FbA8",\n "object": "payment_intent",\n "amount": 1100,\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_3MSdQhAbmaEugrFT1W36FbA8"\n },\n "client_secret": "pi_3MSdQhAbmaEugrFT1W36FbA8_secret_ajF2KOTsUtIR4rcTc4kEhunwl",\n "confirmation_method": "automatic",\n "created": 1674293527,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSdQhAbmaEugrFTrmcztgOx",\n "last_payment_error": 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": 1674293527,\n "period_start": 1674293527,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674293527,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSdQhAbmaEugrFT5yMD195Z",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674293527\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674293527,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_UnLssCVTth1WiP message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:32:08] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:35:06.363537 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:35:06.366537 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:06] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:35:06.371068 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:35:06.376067 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:06] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:06] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:35:06.920372 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:06] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:35:12.139286 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:35:12.141289 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:35:12.145296 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:35:12.149317 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:35:12.151309 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:12] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card
+INFO:root:2023-01-21 10:35:12.158309 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:12] "POST /myclass/api/get_invoice_by_customer/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:35:12.162840 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:12] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_sZ04OInLkMDHhk message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:12] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_0wyvcLJuDDY3ag message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:12] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:35:14.292421 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:35:14.295422 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:35:14.298416 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_6rWEvdX3pUSRPf message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:14] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:35:19.231159 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:35:19.234095 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:35:19.238301 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:35:19.241331 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:19] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_hFpysmuBxWF88i message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:19] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:35:19.682219 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:35:19.686769 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:35:19.695813 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSdTnAbmaEugrFTCSI4PuKg",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674293719,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674293719,\n "currency": "eur",\n "current_period_end": 1676972119,\n "current_period_start": 1674293719,\n "customer": "cus_MrtgqQxPM3z229",\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_ND3aU0NyNNTa1r",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674293720,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSdTnAbmaEugrFTCSI4PuKg",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSdTnAbmaEugrFTCSI4PuKg"\n },\n "latest_invoice": {\n "id": "in_1MSdToAbmaEugrFTaEwFgXnp",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674293720,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDNiOFlrVExJWnZ1dGYwSFhtb24xOWNjQkcwQ3ZxLDY0ODM0NTIw0200Bon5NqE9?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDNiOFlrVExJWnZ1dGYwSFhtb24xOWNjQkcwQ3ZxLDY0ODM0NTIw0200Bon5NqE9/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSdToAbmaEugrFT7f98UcCu",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676972119,\n "start": 1674293719\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSdTnAbmaEugrFTCSI4PuKg",\n "subscription_item": "si_ND3aU0NyNNTa1r",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSdToAbmaEugrFTaEwFgXnp/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0406",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSdToAbmaEugrFT1l8WIBMI",\n "object": "payment_intent",\n "amount": 1100,\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_3MSdToAbmaEugrFT1l8WIBMI"\n },\n "client_secret": "pi_3MSdToAbmaEugrFT1l8WIBMI_secret_wlenSPAxi8idiogLPA8TDi8gY",\n "confirmation_method": "automatic",\n "created": 1674293720,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSdToAbmaEugrFTaEwFgXnp",\n "last_payment_error": 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": 1674293719,\n "period_start": 1674293719,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674293720,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSdTnAbmaEugrFTCSI4PuKg",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674293720\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674293719,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_RoYC1lHDyb5m5c message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:35:21] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:36:24.040243 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:36:24.049195 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:36:24] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:36:24.053194 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:36:24.057209 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:36:24] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:36:24] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:36:25.230132 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:36:25] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:36:26.536933 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:36:26.540930 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:36:26.544944 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:36:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_1atQCVuK5IpFML message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:36:26] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:36:29.890531 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:36:29.892724 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:36:29.896816 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:36:29.899812 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:36:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:36:29] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_7djXh4WextY7eY message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:36:30] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:36:30.364066 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:36:30.369051 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:36:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:36:30.529636 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSdUwAbmaEugrFTS3kR63QE",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674293790,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674293790,\n "currency": "eur",\n "current_period_end": 1676972190,\n "current_period_start": 1674293790,\n "customer": "cus_MrtgqQxPM3z229",\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_ND3cIMkhfHiewp",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674293791,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSdUwAbmaEugrFTS3kR63QE",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSdUwAbmaEugrFTS3kR63QE"\n },\n "latest_invoice": {\n "id": "in_1MSdUwAbmaEugrFTAwaXeVrI",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674293790,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDNjcjF1S0JSSnNxR1FXekYxZk9xcXZ5WmtRUFl2LDY0ODM0NTkx0200orneB5fi?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDNjcjF1S0JSSnNxR1FXekYxZk9xcXZ5WmtRUFl2LDY0ODM0NTkx0200orneB5fi/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSdUwAbmaEugrFT2bSbQ9PV",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676972190,\n "start": 1674293790\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSdUwAbmaEugrFTS3kR63QE",\n "subscription_item": "si_ND3cIMkhfHiewp",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSdUwAbmaEugrFTAwaXeVrI/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0407",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSdUxAbmaEugrFT0xtkmM5z",\n "object": "payment_intent",\n "amount": 1100,\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_3MSdUxAbmaEugrFT0xtkmM5z"\n },\n "client_secret": "pi_3MSdUxAbmaEugrFT0xtkmM5z_secret_qITemk5L33PZixivstMyPqrs0",\n "confirmation_method": "automatic",\n "created": 1674293791,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSdUwAbmaEugrFTAwaXeVrI",\n "last_payment_error": 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": 1674293790,\n "period_start": 1674293790,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674293790,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSdUwAbmaEugrFTS3kR63QE",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674293790\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674293790,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_kxHwWJWypX9DjL message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:36:31] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:38:39.458321 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:38:39.461323 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:38:39] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:38:39.464313 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:38:39.470321 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:38:39] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:38:39] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:38:40.121831 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:38:40] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:38:44.617336 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:38:44.619349 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:38:44.622338 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:38:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_o37RRsMpoSChOV message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:38:45] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:40:57.464591 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:40:57.466588 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:40:57.469320 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:40:57] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:40:57.476805 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:40:57] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:40:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:40:58.140840 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:40:58] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:41:00.298527 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:41:00.301537 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:41:00.305535 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:41:00] "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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_vJbjp5CDBPW9EZ message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:41:00] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:42:29.475063 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:42:29.478078 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:42:29.481080 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:42:29] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:42:29.487073 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:42:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:42:29] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:42:29.938571 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:42:29] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:42:31.766858 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:42:31.770864 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:42:31.774857 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:42:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_9Oto6PuBWaX0Ed message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:42:32] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:44:15.083339 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1MSRPhAbmaEugrFTN3EzgFMD/detach
+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_methods/pm_1MSRPhAbmaEugrFTN3EzgFMD/detach response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1MSRPhAbmaEugrFTN3EzgFMD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dqsdssqdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2025,\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": 1674247337,\n "customer": null,\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_nt40azTsMsKcN7 message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card&card[number]=4242424242424242&card[exp_month]=5&card[exp_year]=24&card[cvc]=145&billing_details[name]=ddqdqd
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1MSdcRAbmaEugrFTysG7zrxy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "ddqdqd",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "unchecked"\n },\n "country": "US",\n "exp_month": 5,\n "exp_year": 2024,\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": 1674294255,\n "customer": null,\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_MS7deaVKMIvkkP message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1MSdcRAbmaEugrFTysG7zrxy/attach
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_MrtgqQxPM3z229
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods/pm_1MSdcRAbmaEugrFTysG7zrxy/attach response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1MSdcRAbmaEugrFTysG7zrxy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "ddqdqd",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 5,\n "exp_year": 2024,\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": 1674294255,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_oybqQFvWgDRSiD message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:44:16] "POST /myclass/api/add_payement_mode/ 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 2356771450640 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2356771450640 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2356771450640 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2356771450640 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 2356771554192 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2356771554192 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2356771554192 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2356771554192 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2356772814160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2356772814160 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+INFO:root:2023-01-21 10:45:05.589222 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:45:05.589222 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:45:05.589222 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:45:05.589222 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Attempting to release lock 2356772814160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2356772814160 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+INFO:root:2023-01-21 10:46:11.215247 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:46:11.218357 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:46:11.221363 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:46:11] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:46:11.231356 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:46:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:46:11] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:46:11.410643 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:46:11.414635 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:46:11.419639 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:46:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdcRAbmaEugrFTysG7zrxy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "ddqdqd",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 5,\n "exp_year": 2024,\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": 1674294255,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_4LXCzrbTc00ToI message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:46:11] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2284910206736 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2284910206736 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2284910206736 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2284910206736 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 2285000621136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2285000621136 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2285000621136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2285000621136 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2285001666640 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2285001666640 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+INFO:root:2023-01-21 10:47:54.247234 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:47:54.248244 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:47:54.248244 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:47:54.248244 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Attempting to release lock 2285001666640 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2285001666640 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+INFO:root:2023-01-21 10:49:25.278939 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:49:25.280937 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:49:25.283943 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:49:25] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:49:25.290943 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:49:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:49:25] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:49:25.452496 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:49:25.455500 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:49:25.459499 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:49: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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdcRAbmaEugrFTysG7zrxy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "ddqdqd",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 5,\n "exp_year": 2024,\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": 1674294255,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_UVZKswNP2JB8oM message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:49:25] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:49:30.388121 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:49:30.391125 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:49:30] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:49:30.394127 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:49:30.398117 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:49:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:49:30] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:49:30.583278 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:49:30.585277 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:49:30.590280 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:49:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdcRAbmaEugrFTysG7zrxy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "ddqdqd",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 5,\n "exp_year": 2024,\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": 1674294255,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Aug2SA5Pnwaaf3 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:49:30] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_mgt.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2776015601040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2776015601040 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2776015601040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2776015601040 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 2776316482576 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2776316482576 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2776316482576 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2776316482576 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2776316491984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2776316491984 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+INFO:root:2023-01-21 10:53:37.323907 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+DEBUG:filelock:Attempting to release lock 2776316491984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:53:37.323907 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:53:37.323907 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:53:37.323907 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Lock 2776316491984 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\\ela_factures_mgt.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2362104723408 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2362104723408 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2362104723408 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2362104723408 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 2362104661008 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2362104661008 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2362104661008 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:54:08.249902 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:54:08.249902 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:54:08.249902 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+DEBUG:filelock:Lock 2362104661008 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:54:08.249902 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Attempting to acquire lock 2362106124112 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2362106124112 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2362106124112 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2362106124112 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\\ela_factures_mgt.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 1943230056272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1943230056272 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 1943230056272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1943230056272 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 1943229989264 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1943229989264 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 1943229989264 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:54:31.988689 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:54:31.988689 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:54:31.988689 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:54:31.988689 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Lock 1943229989264 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 1942920908368 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1942920908368 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 1942920908368 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1942920908368 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\\ela_factures_mgt.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2275200841680 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2275200841680 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2275200841680 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2275200841680 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 2275200795408 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2275200795408 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2275200795408 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2275200795408 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2275200791312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:55:14.495613 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+DEBUG:filelock:Lock 2275200791312 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:55:14.495613 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+INFO:root:2023-01-21 10:55:14.495613 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:55:14.495613 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Attempting to release lock 2275200791312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2275200791312 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+INFO:root:2023-01-21 10:55:14.674525 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:55:14.677528 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:55:14.679534 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:55:14.682055 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:55:14.687059 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:55:14] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:55:14] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:55:14.697058 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:root:2023-01-21 10:55:14.697058 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:55:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:55:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdcRAbmaEugrFTysG7zrxy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "ddqdqd",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 5,\n "exp_year": 2024,\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": 1674294255,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_fpQyPBnSaG0sCa message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:55:15] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_mgt.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2376761270096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2376761270096 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2376761270096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2376761270096 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 2376837336528 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2376837336528 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2376837336528 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2376837336528 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2376838497424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2376838497424 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+INFO:root:2023-01-21 10:58:21.968515 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+DEBUG:filelock:Attempting to release lock 2376838497424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:58:21.968515 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 10:58:21.968515 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:58:21.968515 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Lock 2376838497424 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+INFO:root:2023-01-21 10:58:44.346788 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:58:44.348785 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:58:44.354785 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:58:44] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:58:44.370800 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:58:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:58:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:58:44.581881 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:58:44.584883 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:58:44.588878 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:58:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdcRAbmaEugrFTysG7zrxy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "ddqdqd",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 5,\n "exp_year": 2024,\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": 1674294255,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_MtZmptLm79gDir message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:58:45] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_mgt.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 1582974557584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1582974557584 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 1582974557584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1582974557584 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 1582991869648 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1582991869648 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 1582991869648 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1582991869648 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 1582991720400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1582991720400 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 10:59:32.131542 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 10:59:32.131542 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+INFO:root:2023-01-21 10:59:32.131542 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 10:59:32.132534 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Attempting to release lock 1582991720400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1582991720400 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+INFO:root:2023-01-21 10:59:35.379511 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:59:35.382505 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:59:35.384507 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:59:35] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:59:35.392509 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:59:35] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:59:35] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 10:59:35.541865 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:59:35.543854 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 10:59:35.547863 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:59:35] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdcRAbmaEugrFTysG7zrxy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "ddqdqd",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 5,\n "exp_year": 2024,\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": 1674294255,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_mmFKeDkNm9vUDG message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 10:59:35] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_mgt.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2506004073680 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2506004073680 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2506004073680 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2506004073680 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 2505941103312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2505941103312 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2505941103312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2505941103312 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2506009490256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 11:00:05.391857 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 11:00:05.391857 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+DEBUG:filelock:Lock 2506009490256 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 11:00:05.391857 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 11:00:05.391857 : ++ 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 2506009490256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2506009490256 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+INFO:root:2023-01-21 11:00:09.554803 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:00:09.557808 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:00:09.559802 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:00:09] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:00:09.567815 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:00:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:00:09] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:00:09.718619 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:00:09.720615 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:00:09.724613 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:00:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdcRAbmaEugrFTysG7zrxy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "ddqdqd",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 5,\n "exp_year": 2024,\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": 1674294255,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_xq5IwadYiExbVy message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:00:10] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_mgt.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2717321497296 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2717321497296 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2717321497296 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2717321497296 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 2717321298320 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2717321298320 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2717321298320 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2717321298320 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2717326293072 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2717326293072 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+INFO:root:2023-01-21 11:00:45.674093 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 11:00:45.675091 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 11:00:45.675091 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+DEBUG:filelock:Attempting to release lock 2717326293072 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 11:00:45.675091 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Lock 2717326293072 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+INFO:root:2023-01-21 11:00:45.884762 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:00:45.887286 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:00:45.890312 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:00:45.892309 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:00:45] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:00:45.897307 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:00:45.899311 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:00:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:00:45.906307 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:00:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:00:45] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdcRAbmaEugrFTysG7zrxy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "ddqdqd",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 5,\n "exp_year": 2024,\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": 1674294255,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Gsbe7P411PXb5q message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:00:46] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:01:29.869099 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1MSdcRAbmaEugrFTysG7zrxy/detach
+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_methods/pm_1MSdcRAbmaEugrFTysG7zrxy/detach response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1MSdcRAbmaEugrFTysG7zrxy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "ddqdqd",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 5,\n "exp_year": 2024,\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": 1674294255,\n "customer": null,\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_FMDJHHAVn8HtcW message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card&card[number]=4242424242424242&card[exp_month]=11&card[exp_year]=26&card[cvc]=456&billing_details[name]=cheif+11h
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1MSdt8AbmaEugrFTgd033XxU",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "cheif 11h",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "unchecked"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2026,\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": 1674295290,\n "customer": null,\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_yuHbmNAIVrOcXc message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1MSdt8AbmaEugrFTgd033XxU/attach
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_MrtgqQxPM3z229
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods/pm_1MSdt8AbmaEugrFTgd033XxU/attach response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1MSdt8AbmaEugrFTgd033XxU",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "cheif 11h",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2026,\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": 1674295290,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_fnk7SDdUa3eP04 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:01:31] "POST /myclass/api/add_payement_mode/ 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 1489906536272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1489906536272 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 1489906536272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1489906536272 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 1489906637456 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1489906637456 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 1489906637456 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1489906637456 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 1489911722000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1489911722000 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+INFO:root:2023-01-21 11:03:01.799186 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 11:03:01.799186 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 11:03:01.799186 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 11:03:01.799186 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Attempting to release lock 1489911722000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1489911722000 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+INFO:root:2023-01-21 11:03:01.980802 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:03:01.982802 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:03:01.985793 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:03:01.988805 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:03:01.992810 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:03:01] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:03:01.998804 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:03:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:03:02.008093 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:03:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:03:02] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:root:2023-01-21 11:03:02.119345 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:03:02.122355 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:03:02] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:03:02.126356 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:03:02.131345 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:03:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:03:02] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:03:02.272539 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:03:02.274535 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:03:02.277549 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:03: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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdt8AbmaEugrFTgd033XxU",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "cheif 11h",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2026,\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": 1674295290,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_hdfrzYrpDJCuMY message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:03:02] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdt8AbmaEugrFTgd033XxU",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "cheif 11h",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2026,\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": 1674295290,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_8t4TloPMVd3EwU message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:03:02] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:08:12.464244 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:08:12.466412 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:08:12.470500 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:08:12] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdt8AbmaEugrFTgd033XxU",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "cheif 11h",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2026,\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": 1674295290,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_FyVpbsYy5i1P5i message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:08:12] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:11:36.586028 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:11:36.589063 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:11:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:11:36.592028 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:11:36.596030 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:11:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:11:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:11:36.754658 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:11:36.757671 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:11:36.761680 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:11:36] "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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdt8AbmaEugrFTgd033XxU",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "cheif 11h",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2026,\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": 1674295290,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_cYCJfWOgRcKeCp message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:11:37] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:13:48.851631 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:13:48.854639 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:13:48.856631 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:13:48] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:13:48.861629 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:13:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:13:48] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:13:49.018808 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:13:49.020807 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:13:49.023809 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:13:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSdt8AbmaEugrFTgd033XxU",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "cheif 11h",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2026,\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": 1674295290,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Mr3yVVi6QwUWwP message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:13:49] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:14:45.415331 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1MSdt8AbmaEugrFTgd033XxU/detach
+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_methods/pm_1MSdt8AbmaEugrFTgd033XxU/detach response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1MSdt8AbmaEugrFTgd033XxU",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "cheif 11h",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2026,\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": 1674295290,\n "customer": null,\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Ks5tPwRLIJm4kh message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=24&card[cvc]=145&billing_details[name]=dsfdsfsdds+%3A+11h15
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "unchecked"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": null,\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_r8C4IFWYAGsHO8 message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1MSe5xAbmaEugrFTo0C3AALd/attach
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_MrtgqQxPM3z229
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods/pm_1MSe5xAbmaEugrFTo0C3AALd/attach response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_zIrq9dWpA4KR5A message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:14:46] "POST /myclass/api/add_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:15:29.330907 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:15:29.334918 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:15:29] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:15:29.338430 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:15:29.343450 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:15:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:15:29] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:15:29.516016 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:15:29.522104 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:15:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:15:29.524119 : 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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_RY9pYGEJGziZ4S message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:15:29] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:15:50.534123 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:15:50.538143 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:15:50.540136 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:15:50.544144 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:15:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:15:50] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSRRNAbmaEugrFTOE65hLGs",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674247441,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_C2YsPBrDqA3HFc message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:15:50] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:15:50.974528 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:15:50.979531 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:15:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:15:50.985532 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSe71AbmaEugrFTdUvmTa4W",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674296151,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674296151,\n "currency": "eur",\n "current_period_end": 1676974551,\n "current_period_start": 1674296151,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4FoSbcvM9EB3",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674296151,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSe71AbmaEugrFTdUvmTa4W",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSe71AbmaEugrFTdUvmTa4W"\n },\n "latest_invoice": {\n "id": "in_1MSe71AbmaEugrFTXICArg74",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674296151,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRGSmN3U09ObHF2R3lCdkRCNjJiTnU1MVZkWDJ0LDY0ODM2OTUy0200w7vILQGb?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRGSmN3U09ObHF2R3lCdkRCNjJiTnU1MVZkWDJ0LDY0ODM2OTUy0200w7vILQGb/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSe71AbmaEugrFTjvcMoF7i",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676974551,\n "start": 1674296151\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSe71AbmaEugrFTdUvmTa4W",\n "subscription_item": "si_ND4FoSbcvM9EB3",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSe71AbmaEugrFTXICArg74/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0408",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSe71AbmaEugrFT0x10Ljtv",\n "object": "payment_intent",\n "amount": 1100,\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_3MSe71AbmaEugrFT0x10Ljtv"\n },\n "client_secret": "pi_3MSe71AbmaEugrFT0x10Ljtv_secret_ozPng9aUrDaw1E4iAy0Yrm7LU",\n "confirmation_method": "automatic",\n "created": 1674296151,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSe71AbmaEugrFTXICArg74",\n "last_payment_error": 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": 1674296151,\n "period_start": 1674296151,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674296151,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSe71AbmaEugrFTdUvmTa4W",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674296151\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674296151,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_4e6Thw1hVjCm7E message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:15:52] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:15:58.600469 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n\n\t\n\t\t

\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoire
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_23100066\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\t\n\t\t\t\t\t\tDate de facture: 21/01/2023 | \n\t\t\t\t\t\tDate échéance : 21/01/2023 | \n\t\t\t\t\t
\n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_006qJf\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tDescription | \n\t\t\t\t\t\t\tQuantité | \n\t\t\t\t\t\t\tPrix unitaire | \n\t\t\t\t\t\t\tMontant | \n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tGold | \n\t\t\t\t\t\t\t1 | \n\t\t\t\t\t\t\t90 | \n\t\t\t\t\t\t\t90.0 | \n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\n\t\t\t\t
\n\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t | \n\t\t\t\t\t | \n\t\t\t\t\tMontant HT: | \n\t\t\t\t\t90.0 | \n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t\t\t | \n\t\t\t\t\t | \n\t\t\t\t\tTVA 20% : | \n\t\t\t\t\t18.0 | \n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t\t\t | \n\t\t\t\t\t | \n\t\t\t\t\tMontant TTC : | \n\t\t\t\t\t108.0 | \n\t\t\t\t
\n\t\t\t
\n\n\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\n\n\n\t\t
\n\n\t
\n\t
\n\t\n\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_23100066.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): 0xd0a29290
+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_23100066.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100066.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_23100066.pdf')
+INFO:root:2023-01-21 11:16:04.790909 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_23100066.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100066.pdf EST OKKKK
+INFO:paramiko.transport.sftp:[chan 0] sftp session closed.
+DEBUG:paramiko.transport:[chan 0] EOF sent (0)
+DEBUG:paramiko.transport:EOF in transport thread
+INFO:root:2023-01-21 11:16:04.791897 : Impression facture N° FACT_23100066 OK
+INFO:root:2023-01-21 11:16:04.817479 : UpdataPartnerRankingClass - Le RANKING de 11 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-21 11:16:04.801457', 'isalaune': '1'}
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:16:04] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:16:04.939653 : 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_3MSe71AbmaEugrFT0x10Ljtv/confirm
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_card_visa
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MSe71AbmaEugrFT0x10Ljtv/confirm response_code=200
+DEBUG:stripe:body='{\n "id": "pi_3MSe71AbmaEugrFT0x10Ljtv",\n "object": "payment_intent",\n "amount": 1100,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 1100,\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_3MSe71AbmaEugrFT0xbc7Mjk",\n "object": "charge",\n "amount": 1100,\n "amount_captured": 1100,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MSe71AbmaEugrFT00YlKn8P",\n "billing_details": {\n "address": {\n "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 "calculated_statement_descriptor": "Stripe",\n "captured": true,\n "created": 1674296165,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\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_1MSe71AbmaEugrFTXICArg74",\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": 23,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MSe71AbmaEugrFT0x10Ljtv",\n "payment_method": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\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": "US",\n "exp_month": 1,\n "exp_year": 2024,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "installments": null,\n "last4": "4242",\n "mandate": null,\n "network": "visa",\n "three_d_secure": null,\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKOb2rp4GMgbfYZT2Dco6LBYQzHJQlyd9MCtUnqi_uarYCdmhY5s4fD-hh7NjCHUutuzacRtlWGZ2GnZ9?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_3MSe71AbmaEugrFT0xbc7Mjk/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_3MSe71AbmaEugrFT0x10Ljtv"\n },\n "client_secret": "pi_3MSe71AbmaEugrFT0x10Ljtv_secret_ozPng9aUrDaw1E4iAy0Yrm7LU",\n "confirmation_method": "automatic",\n "created": 1674296151,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSe71AbmaEugrFTXICArg74",\n "last_payment_error": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\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_7mcpUQ3VyvCGNO message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:16:06] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:16:21.062498 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:16:21.065503 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:16:21] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:16:21.069496 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:16:21.073511 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:16:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:16:21] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:16:21.532841 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:16:21] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:16:33.248725 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:16:33.251877 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:16:33] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:16:33.255566 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:16:33.259105 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:16:33] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:16:33] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:16:33.738157 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:16:33] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:16:35.530108 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:16:35.533129 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:16:35.535110 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:16:35] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_D8NHqo3ZQ8jVWp message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:16:35] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:17:41.082112 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:17:41.085110 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:17:41.088113 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:17:41.091114 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:17:41] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:17: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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_1CQUUR0SMQiGjf message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:17:41] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:17:41.523386 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:17:41.528067 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:17:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:17:41.533101 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSe8nAbmaEugrFToziyO3uZ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674296261,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674296261,\n "currency": "eur",\n "current_period_end": 1676974661,\n "current_period_start": 1674296261,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4HEdSqQ8f04j",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674296262,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSe8nAbmaEugrFToziyO3uZ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSe8nAbmaEugrFToziyO3uZ"\n },\n "latest_invoice": {\n "id": "in_1MSe8nAbmaEugrFTzLOfFuqe",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674296261,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRIblJMWHlvREdxcndxbVo0OGYzS3ZzaGhGdGU0LDY0ODM3MDYy0200SqcgfIG4?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRIblJMWHlvREdxcndxbVo0OGYzS3ZzaGhGdGU0LDY0ODM3MDYy0200SqcgfIG4/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSe8nAbmaEugrFTKApZH3cc",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676974661,\n "start": 1674296261\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSe8nAbmaEugrFToziyO3uZ",\n "subscription_item": "si_ND4HEdSqQ8f04j",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSe8nAbmaEugrFTzLOfFuqe/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0409",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSe8oAbmaEugrFT0jlRd6KB",\n "object": "payment_intent",\n "amount": 1100,\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_3MSe8oAbmaEugrFT0jlRd6KB"\n },\n "client_secret": "pi_3MSe8oAbmaEugrFT0jlRd6KB_secret_KkX7BfgVf812bLBiuvVKJL6k6",\n "confirmation_method": "automatic",\n "created": 1674296262,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSe8nAbmaEugrFTzLOfFuqe",\n "last_payment_error": 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": 1674296261,\n "period_start": 1674296261,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674296261,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSe8nAbmaEugrFToziyO3uZ",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674296261\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674296261,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_kiwlhuJ87pw79a message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:17:42] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:20:00.497106 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:20:00.500109 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:20:00.504108 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:20:00.506111 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:20:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:20:00] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_stpUZQMwlg6fEb message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:20:00] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:20:00.935073 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:20:00.939078 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:20:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:20:00.944607 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeB3AbmaEugrFTCkCuyNor",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674296401,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674296401,\n "currency": "eur",\n "current_period_end": 1676974801,\n "current_period_start": 1674296401,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4JyRij0R2VDt",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674296401,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeB3AbmaEugrFTCkCuyNor",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeB3AbmaEugrFTCkCuyNor"\n },\n "latest_invoice": {\n "id": "in_1MSeB3AbmaEugrFT2EqvJzau",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674296401,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRKaFBBcVp6VzliR0Rabm03QzVVclNsc0d2VmJULDY0ODM3MjAy0200jn3hfg1E?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRKaFBBcVp6VzliR0Rabm03QzVVclNsc0d2VmJULDY0ODM3MjAy0200jn3hfg1E/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeB3AbmaEugrFTVHy6ZygL",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676974801,\n "start": 1674296401\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeB3AbmaEugrFTCkCuyNor",\n "subscription_item": "si_ND4JyRij0R2VDt",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeB3AbmaEugrFT2EqvJzau/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0410",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeB3AbmaEugrFT14LD1s2s",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeB3AbmaEugrFT14LD1s2s"\n },\n "client_secret": "pi_3MSeB3AbmaEugrFT14LD1s2s_secret_HmxobLkDyFQke0qMYQxkmhOwI",\n "confirmation_method": "automatic",\n "created": 1674296401,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeB3AbmaEugrFT2EqvJzau",\n "last_payment_error": 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": 1674296401,\n "period_start": 1674296401,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674296401,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeB3AbmaEugrFTCkCuyNor",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674296401\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674296401,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_mnKMx1pqHKif2j message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:20:02] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:22:51.457745 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:22:51.460780 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:22:51.462779 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:22:51.466782 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:22:51] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:22:51] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ZYvqk9ympQ4DJd message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:22:51] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:22:51.890529 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:22:51.894569 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:22:51] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:22:51.900186 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeDoAbmaEugrFT502JPK7k",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674296572,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674296572,\n "currency": "eur",\n "current_period_end": 1676974972,\n "current_period_start": 1674296572,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4Mth12fP8hab",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674296572,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeDoAbmaEugrFT502JPK7k",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeDoAbmaEugrFT502JPK7k"\n },\n "latest_invoice": {\n "id": "in_1MSeDoAbmaEugrFTx25P3PwS",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674296572,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRNTmJzQXJQUmZreEZERWZ5eFlhcWRCUkFGSE9vLDY0ODM3Mzcz0200LttX9Vw3?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRNTmJzQXJQUmZreEZERWZ5eFlhcWRCUkFGSE9vLDY0ODM3Mzcz0200LttX9Vw3/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeDoAbmaEugrFTFpGx9oIX",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676974972,\n "start": 1674296572\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeDoAbmaEugrFT502JPK7k",\n "subscription_item": "si_ND4Mth12fP8hab",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeDoAbmaEugrFTx25P3PwS/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0411",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeDoAbmaEugrFT0a6TzV25",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeDoAbmaEugrFT0a6TzV25"\n },\n "client_secret": "pi_3MSeDoAbmaEugrFT0a6TzV25_secret_exyDrZcmuj8hKJ7ZV1kDfIhtk",\n "confirmation_method": "automatic",\n "created": 1674296572,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeDoAbmaEugrFTx25P3PwS",\n "last_payment_error": 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": 1674296572,\n "period_start": 1674296572,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674296572,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeDoAbmaEugrFT502JPK7k",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674296572\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674296572,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_NzVdM75StZpDkU message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:22:53] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:23:15.904365 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:23:15.907369 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:23:15.910364 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:23:15.912367 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:23:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:23:15] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Xd1W83hdLPanrJ message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:23:16] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:23:16.354463 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:23:16.358327 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:23:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:23:16.363352 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeECAbmaEugrFTJoSMN3yv",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674296596,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674296596,\n "currency": "eur",\n "current_period_end": 1676974996,\n "current_period_start": 1674296596,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4Mis28XhhHQu",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674296597,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeECAbmaEugrFTJoSMN3yv",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeECAbmaEugrFTJoSMN3yv"\n },\n "latest_invoice": {\n "id": "in_1MSeECAbmaEugrFTLl0MTR3l",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674296596,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRNazZ5NmdFRWIxNTEycjgyczQxd3pmaWxGaGNwLDY0ODM3Mzk30200owuY88IR?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRNazZ5NmdFRWIxNTEycjgyczQxd3pmaWxGaGNwLDY0ODM3Mzk30200owuY88IR/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeECAbmaEugrFTekuRFFsc",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676974996,\n "start": 1674296596\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeECAbmaEugrFTJoSMN3yv",\n "subscription_item": "si_ND4Mis28XhhHQu",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeECAbmaEugrFTLl0MTR3l/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0412",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeEDAbmaEugrFT1lzYHGr8",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeEDAbmaEugrFT1lzYHGr8"\n },\n "client_secret": "pi_3MSeEDAbmaEugrFT1lzYHGr8_secret_V2AiWS1aClRN5b9EYruSTvPqz",\n "confirmation_method": "automatic",\n "created": 1674296597,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeECAbmaEugrFTLl0MTR3l",\n "last_payment_error": 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": 1674296596,\n "period_start": 1674296596,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674296596,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeECAbmaEugrFTJoSMN3yv",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674296596\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674296596,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_loxlriRx5e0O3O message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:23:17] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:23:32.903871 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:23:32.908879 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:23:32.915873 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:23:32] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:23:32.921873 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:23:32] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_mxo4CAceNv2POW message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:23:33] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:23:33.320351 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:23:33.323344 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:23:33] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:23:33.329343 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeETAbmaEugrFTCAwbaFU8",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674296613,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674296613,\n "currency": "eur",\n "current_period_end": 1676975013,\n "current_period_start": 1674296613,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4NEUOW0nqE2o",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674296614,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeETAbmaEugrFTCAwbaFU8",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeETAbmaEugrFTCAwbaFU8"\n },\n "latest_invoice": {\n "id": "in_1MSeETAbmaEugrFTCS4beWHx",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674296613,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDROWXRmTmhsdTBWMzMzSWZLZGNMZ3dTZHg5NXA4LDY0ODM3NDE00200ItazkaMd?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDROWXRmTmhsdTBWMzMzSWZLZGNMZ3dTZHg5NXA4LDY0ODM3NDE00200ItazkaMd/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeETAbmaEugrFTOJ8AzGGz",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676975013,\n "start": 1674296613\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeETAbmaEugrFTCAwbaFU8",\n "subscription_item": "si_ND4NEUOW0nqE2o",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeETAbmaEugrFTCS4beWHx/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0413",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeEUAbmaEugrFT05CZiYfx",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeEUAbmaEugrFT05CZiYfx"\n },\n "client_secret": "pi_3MSeEUAbmaEugrFT05CZiYfx_secret_ZHn0hMUXM89IxRs05JnPD3MXS",\n "confirmation_method": "automatic",\n "created": 1674296614,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeETAbmaEugrFTCS4beWHx",\n "last_payment_error": 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": 1674296613,\n "period_start": 1674296613,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674296613,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeETAbmaEugrFTCAwbaFU8",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674296613\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674296613,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_FAMyQGXImyfgXP message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:23:34] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:24:09.831415 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:24:09.835410 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:24:09.840421 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:24:09.844420 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:24:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:24:09] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_7tm3WEpNRjbyoI message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:24:10] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:24:10.291460 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:24:10.295478 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:24:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:24:10.303471 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeF4AbmaEugrFTmnzeBdGS",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674296650,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674296650,\n "currency": "eur",\n "current_period_end": 1676975050,\n "current_period_start": 1674296650,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4Nrcei7uhkUh",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674296650,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeF4AbmaEugrFTmnzeBdGS",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeF4AbmaEugrFTmnzeBdGS"\n },\n "latest_invoice": {\n "id": "in_1MSeF4AbmaEugrFTClGtAqVv",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674296650,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRONlQ3dE9SWjF5em9CZ1ZaV1dReFZ5TWIxeXN2LDY0ODM3NDUx0200gn3y9hBM?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRONlQ3dE9SWjF5em9CZ1ZaV1dReFZ5TWIxeXN2LDY0ODM3NDUx0200gn3y9hBM/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeF4AbmaEugrFTnowSGsTf",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676975050,\n "start": 1674296650\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeF4AbmaEugrFTmnzeBdGS",\n "subscription_item": "si_ND4Nrcei7uhkUh",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeF4AbmaEugrFTClGtAqVv/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0414",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeF4AbmaEugrFT1fWqwgRv",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeF4AbmaEugrFT1fWqwgRv"\n },\n "client_secret": "pi_3MSeF4AbmaEugrFT1fWqwgRv_secret_OEBmTEtkcbCLQ6afWzC8OcV8A",\n "confirmation_method": "automatic",\n "created": 1674296650,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeF4AbmaEugrFTClGtAqVv",\n "last_payment_error": 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": 1674296650,\n "period_start": 1674296650,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674296650,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeF4AbmaEugrFTmnzeBdGS",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674296650\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674296650,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_O9avR76cWSnEgx message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:24:11] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:04.177240 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:04.182255 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:04.186257 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:04.191251 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:04] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25: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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_XMPUGlih42kiNT message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:04] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:04.643679 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:04.652677 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:04.670677 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeFwAbmaEugrFTvV4QMo4p",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674296704,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674296704,\n "currency": "eur",\n "current_period_end": 1676975104,\n "current_period_start": 1674296704,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4O4eIKNahNxt",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674296705,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeFwAbmaEugrFTvV4QMo4p",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeFwAbmaEugrFTvV4QMo4p"\n },\n "latest_invoice": {\n "id": "in_1MSeFwAbmaEugrFTxkW47OsQ",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674296704,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRPVkJ0RmhEQ3M2M2k3Zk9NSE81RlVaRTY3bWk5LDY0ODM3NTA10200ye0iziQV?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRPVkJ0RmhEQ3M2M2k3Zk9NSE81RlVaRTY3bWk5LDY0ODM3NTA10200ye0iziQV/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeFwAbmaEugrFTSdsYtugO",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676975104,\n "start": 1674296704\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeFwAbmaEugrFTvV4QMo4p",\n "subscription_item": "si_ND4O4eIKNahNxt",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeFwAbmaEugrFTxkW47OsQ/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0415",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeFxAbmaEugrFT1jyBh7kj",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeFxAbmaEugrFT1jyBh7kj"\n },\n "client_secret": "pi_3MSeFxAbmaEugrFT1jyBh7kj_secret_6MdmvkrblEhPmRnPZtG5ZKER3",\n "confirmation_method": "automatic",\n "created": 1674296705,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeFwAbmaEugrFTxkW47OsQ",\n "last_payment_error": 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": 1674296704,\n "period_start": 1674296704,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674296704,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeFwAbmaEugrFTvV4QMo4p",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674296704\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674296704,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_kDHXuOgdvrMbhv message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:06] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:08.440295 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:08.443296 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:08] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:08.446291 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:08.451305 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:08] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:09.098085 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:09] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:12.320222 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:12.324231 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:12.327228 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:12.331230 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:12.333231 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:root:2023-01-21 11:25:12.337231 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:12] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:12.343596 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:12] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:12] "POST /myclass/api/get_invoice_by_customer/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_SNmkicXgYbetdQ message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:12] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_NYvfUlQCWb2LO3 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:12] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:13.987812 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:14.022237 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:14] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:16.737780 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:16.740780 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:16.744327 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:16.763325 : get_partner_class_external_code -'dict' object has no attribute 'sort' - Line : 2326
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:16] "POST /myclass/api/get_partner_class_external_code/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:17] "POST /myclass/api/GetStat_class_view/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:18.213417 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:18.216941 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:18.219525 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:18.224542 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:18.229096 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:18.229096 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:18] "POST /myclass/api/get_invoice_by_customer/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:18.238093 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:18] "POST /myclass/api/GetStat_class_view_topX/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_eQUKdwwRnb2jZl message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:18] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_z8goZR8Biz27ht message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:18] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:20.585353 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:20.587351 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:20.592357 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25: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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_86bQKjRdk7unna message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:20] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:22.472789 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:22.475788 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:22.479800 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:22] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:22.483789 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25: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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_DdAOKgJ3yl8vXZ message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:22] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:22.904149 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:22.909147 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:22.914157 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeGFAbmaEugrFTgMVAEKD8",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674296723,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674296723,\n "currency": "eur",\n "current_period_end": 1676975123,\n "current_period_start": 1674296723,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4PUgVl929EaZ",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674296723,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeGFAbmaEugrFTgMVAEKD8",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeGFAbmaEugrFTgMVAEKD8"\n },\n "latest_invoice": {\n "id": "in_1MSeGFAbmaEugrFTu9UIWSTJ",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674296723,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRQSHByV0hrdzNwRTN2aGgzQlRqdTZHZkhBUERtLDY0ODM3NTI00200ijqCO9xF?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRQSHByV0hrdzNwRTN2aGgzQlRqdTZHZkhBUERtLDY0ODM3NTI00200ijqCO9xF/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeGFAbmaEugrFTIylnGRdF",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676975123,\n "start": 1674296723\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeGFAbmaEugrFTgMVAEKD8",\n "subscription_item": "si_ND4PUgVl929EaZ",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeGFAbmaEugrFTu9UIWSTJ/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0416",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeGFAbmaEugrFT1AwR59y0",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeGFAbmaEugrFT1AwR59y0"\n },\n "client_secret": "pi_3MSeGFAbmaEugrFT1AwR59y0_secret_kyRqbX4lDXqq4tlNBARr9AHuV",\n "confirmation_method": "automatic",\n "created": 1674296723,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeGFAbmaEugrFTu9UIWSTJ",\n "last_payment_error": 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": 1674296723,\n "period_start": 1674296723,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674296723,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeGFAbmaEugrFTgMVAEKD8",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674296723\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674296723,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_aPuzH6b1ua93S1 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:24] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:58.440821 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:58.445804 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:58.448812 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:root:2023-01-21 11:25:58.449815 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:58] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:58] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_coTLfYtKlI8O1Y message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:58] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:58.881406 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:25:58.886400 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:25:58] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:25:58.892401 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeGpAbmaEugrFTVYvtDXG6",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674296759,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674296759,\n "currency": "eur",\n "current_period_end": 1676975159,\n "current_period_start": 1674296759,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4Pb6JleaMXaI",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674296759,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeGpAbmaEugrFTVYvtDXG6",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeGpAbmaEugrFTVYvtDXG6"\n },\n "latest_invoice": {\n "id": "in_1MSeGpAbmaEugrFTVNV93ADY",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674296759,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRQamNiSjBmZ09YU2lZQnpxcHB4RGVnMWlLazlwLDY0ODM3NTYw0200a9wURrFr?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRQamNiSjBmZ09YU2lZQnpxcHB4RGVnMWlLazlwLDY0ODM3NTYw0200a9wURrFr/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeGpAbmaEugrFTU6MwLcSH",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676975159,\n "start": 1674296759\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeGpAbmaEugrFTVYvtDXG6",\n "subscription_item": "si_ND4Pb6JleaMXaI",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeGpAbmaEugrFTVNV93ADY/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0417",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeGpAbmaEugrFT1Bbn4OWo",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeGpAbmaEugrFT1Bbn4OWo"\n },\n "client_secret": "pi_3MSeGpAbmaEugrFT1Bbn4OWo_secret_Jyt2dZ6t5wvsDqJXcg1LkVmtC",\n "confirmation_method": "automatic",\n "created": 1674296759,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeGpAbmaEugrFTVNV93ADY",\n "last_payment_error": 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": 1674296759,\n "period_start": 1674296759,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674296759,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeGpAbmaEugrFTVYvtDXG6",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674296759\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674296759,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_u6bxlwT8xuQwPh message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:26:00] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:26:40.601094 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:26:40.605107 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:26:40.609119 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:26:40.610105 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:26:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:26:40] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_0m6wcLRlHMSnHd message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:26:41] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:26:41.042728 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:26:41.047251 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:26:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:26:41.063242 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeHVAbmaEugrFTiwl192bt",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674296801,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674296801,\n "currency": "eur",\n "current_period_end": 1676975201,\n "current_period_start": 1674296801,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4QNYSlhNAyJb",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674296801,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeHVAbmaEugrFTiwl192bt",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeHVAbmaEugrFTiwl192bt"\n },\n "latest_invoice": {\n "id": "in_1MSeHVAbmaEugrFTj7Cu15m3",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674296801,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRRa25NNkZaMWtQR1JCdEZvSmxneUpnVFIyQW5ILDY0ODM3NjAy0200yqLi4wuu?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRRa25NNkZaMWtQR1JCdEZvSmxneUpnVFIyQW5ILDY0ODM3NjAy0200yqLi4wuu/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeHVAbmaEugrFTzpflLg8D",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676975201,\n "start": 1674296801\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeHVAbmaEugrFTiwl192bt",\n "subscription_item": "si_ND4QNYSlhNAyJb",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeHVAbmaEugrFTj7Cu15m3/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0418",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeHVAbmaEugrFT170OMMdG",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeHVAbmaEugrFT170OMMdG"\n },\n "client_secret": "pi_3MSeHVAbmaEugrFT170OMMdG_secret_4rfIxxvB4IGbsMWcc8vAAy6Rz",\n "confirmation_method": "automatic",\n "created": 1674296801,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeHVAbmaEugrFTj7Cu15m3",\n "last_payment_error": 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": 1674296801,\n "period_start": 1674296801,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674296801,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeHVAbmaEugrFTiwl192bt",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674296801\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674296801,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_6BSwcaRgtqFSSp message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:26:42] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:27:04.790729 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:27:04.794736 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:27:04.798235 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:27:04] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:27:04.802265 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:27: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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_DZn5evqJOAlkHO message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:27:05] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:27:05.251843 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:27:05.255850 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:27:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:27:05.262839 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeHtAbmaEugrFTA1nMuXtE",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674296825,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674296825,\n "currency": "eur",\n "current_period_end": 1676975225,\n "current_period_start": 1674296825,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4QbzeSrsqZFB",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674296825,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeHtAbmaEugrFTA1nMuXtE",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeHtAbmaEugrFTA1nMuXtE"\n },\n "latest_invoice": {\n "id": "in_1MSeHtAbmaEugrFTCQ8gRdCZ",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674296825,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRRV1NBbFZMNGNPYThaVGVUSzVPbDB0aVpPcnNGLDY0ODM3NjI20200i7RStplw?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRRV1NBbFZMNGNPYThaVGVUSzVPbDB0aVpPcnNGLDY0ODM3NjI20200i7RStplw/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeHtAbmaEugrFTrIe29lTk",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676975225,\n "start": 1674296825\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeHtAbmaEugrFTA1nMuXtE",\n "subscription_item": "si_ND4QbzeSrsqZFB",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeHtAbmaEugrFTCQ8gRdCZ/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0419",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeHtAbmaEugrFT1Gelg8L5",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeHtAbmaEugrFT1Gelg8L5"\n },\n "client_secret": "pi_3MSeHtAbmaEugrFT1Gelg8L5_secret_L4Nf7EjwMPiKUXZLLZWo6hq8E",\n "confirmation_method": "automatic",\n "created": 1674296825,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeHtAbmaEugrFTCQ8gRdCZ",\n "last_payment_error": 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": 1674296825,\n "period_start": 1674296825,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674296825,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeHtAbmaEugrFTA1nMuXtE",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674296825\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674296825,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_trTaCxg5kkzxgk message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:27:06] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:31:06.493149 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:31:06.497151 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:31:06.501162 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:31:06] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:31:06.508171 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:31:06] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:31:06] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:31:06.765196 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:31:06] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:31:13.350559 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:31:13.355894 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:31:13] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:31:13.359893 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:31:13.365896 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:31:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:31:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:31:14.617902 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:31:14] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:31:18.520293 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:31:18.522812 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:31:18.526821 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:31:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_dDKRZ9axt2bD30 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:31:18] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:31:20.123983 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:31:20.127985 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:31:20.132980 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:31:20.133981 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:31:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:31:20] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Mczy37WlyZ4aMb message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:31:20] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:31:20.791527 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:31:20.800534 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:31:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:31:20.912669 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeM1AbmaEugrFTBX9dZxYC",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674297081,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674297081,\n "currency": "eur",\n "current_period_end": 1676975481,\n "current_period_start": 1674297081,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4VZ05zOCExh2",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674297081,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeM1AbmaEugrFTBX9dZxYC",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeM1AbmaEugrFTBX9dZxYC"\n },\n "latest_invoice": {\n "id": "in_1MSeM1AbmaEugrFTg3RI0sbf",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674297081,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRWWEFQempBdFc5QnQ4VjhySDd0cWZqRjZPOXdGLDY0ODM3ODgy0200PTfl575l?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRWWEFQempBdFc5QnQ4VjhySDd0cWZqRjZPOXdGLDY0ODM3ODgy0200PTfl575l/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeM1AbmaEugrFTco4x62Rf",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676975481,\n "start": 1674297081\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeM1AbmaEugrFTBX9dZxYC",\n "subscription_item": "si_ND4VZ05zOCExh2",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeM1AbmaEugrFTg3RI0sbf/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0420",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeM1AbmaEugrFT00ZyQLpc",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeM1AbmaEugrFT00ZyQLpc"\n },\n "client_secret": "pi_3MSeM1AbmaEugrFT00ZyQLpc_secret_WCoq1hrmyNvRZ7DVAMhVtw3A9",\n "confirmation_method": "automatic",\n "created": 1674297081,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeM1AbmaEugrFTg3RI0sbf",\n "last_payment_error": 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": 1674297081,\n "period_start": 1674297081,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674297081,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeM1AbmaEugrFTBX9dZxYC",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674297081\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674297081,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Jfu8RHB3l0tDU2 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:31:22] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:35:52.905083 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:35:52.911081 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:35:52.916081 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:35:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_4xKWLTBI9ZyBAc message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:35:53] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:35:56.558867 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:35:56.562864 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:35:56] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:35:56.567870 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:35:56.571870 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:35:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:35:56] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:35:58.105947 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:35:58] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:36:01.091728 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:36:01.095250 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:36:01.099255 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:36:01] "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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_GKu7Ry4Z1BH9jl message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:36:01] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:36:03.745578 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:36:03.749581 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:36:03.752875 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:36:03.754877 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:36:03] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:36:03] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_9BPlvizOkzTlpi message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:36:04] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:36:04.325464 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:36:04.331473 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:36:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:36:04.339472 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeQaAbmaEugrFT0GrDcBbQ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674297364,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674297364,\n "currency": "eur",\n "current_period_end": 1676975764,\n "current_period_start": 1674297364,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4ZuOv7qQu6jd",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674297365,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeQaAbmaEugrFT0GrDcBbQ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeQaAbmaEugrFT0GrDcBbQ"\n },\n "latest_invoice": {\n "id": "in_1MSeQaAbmaEugrFTOvrmWs4x",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674297364,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRaQWpNV1BsMHhsREdlVjdnVUpiUTlYZWhoYmxQLDY0ODM4MTY10200Wr3lJ8RH?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRaQWpNV1BsMHhsREdlVjdnVUpiUTlYZWhoYmxQLDY0ODM4MTY10200Wr3lJ8RH/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeQaAbmaEugrFTfwc59C57",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676975764,\n "start": 1674297364\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeQaAbmaEugrFT0GrDcBbQ",\n "subscription_item": "si_ND4ZuOv7qQu6jd",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeQaAbmaEugrFTOvrmWs4x/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0421",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeQbAbmaEugrFT1oIyHnYD",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeQbAbmaEugrFT1oIyHnYD"\n },\n "client_secret": "pi_3MSeQbAbmaEugrFT1oIyHnYD_secret_8IWMsIf339eDjWNF33UFe2Mwq",\n "confirmation_method": "automatic",\n "created": 1674297365,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeQaAbmaEugrFTOvrmWs4x",\n "last_payment_error": 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": 1674297364,\n "period_start": 1674297364,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674297364,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeQaAbmaEugrFT0GrDcBbQ",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674297364\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674297364,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Utxa9eeX2sM8vN message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:36:05] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:37:35.184783 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:37:35.187786 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:37:35.190774 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:37:35.193777 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:35] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:35] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_7PXIeyJspmly96 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:35] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:37:35.647878 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:37:35.651888 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:35] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:37:35.658905 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeS3AbmaEugrFTJbaaZQUR",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674297455,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674297455,\n "currency": "eur",\n "current_period_end": 1676975855,\n "current_period_start": 1674297455,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4bGzrCUKSN6k",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674297456,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeS3AbmaEugrFTJbaaZQUR",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeS3AbmaEugrFTJbaaZQUR"\n },\n "latest_invoice": {\n "id": "in_1MSeS3AbmaEugrFTEYqEBz2u",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674297455,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRiaHJZRFBBZ0E2cTZCazNyMkUyZFRraUhrZ1YyLDY0ODM4MjU20200x0BRNbjn?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRiaHJZRFBBZ0E2cTZCazNyMkUyZFRraUhrZ1YyLDY0ODM4MjU20200x0BRNbjn/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeS3AbmaEugrFTCWQecLkh",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676975855,\n "start": 1674297455\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeS3AbmaEugrFTJbaaZQUR",\n "subscription_item": "si_ND4bGzrCUKSN6k",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeS3AbmaEugrFTEYqEBz2u/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0422",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeS4AbmaEugrFT08aOeJZ7",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeS4AbmaEugrFT08aOeJZ7"\n },\n "client_secret": "pi_3MSeS4AbmaEugrFT08aOeJZ7_secret_T1ZJFdBcK6TWHPiKzPSY2K2oC",\n "confirmation_method": "automatic",\n "created": 1674297456,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeS3AbmaEugrFTEYqEBz2u",\n "last_payment_error": 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": 1674297455,\n "period_start": 1674297455,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674297455,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeS3AbmaEugrFTJbaaZQUR",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674297455\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674297455,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_zbyaf3UvpRWHsR message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:36] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:37:40.026432 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:37:40.029432 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:40] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:37:40.034426 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:37:40.036435 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:40] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:37:41.154630 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:41] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:37:43.966494 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:37:43.970104 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:37:43.974178 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:43] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_38QRojoHZYHBzn message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:44] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:37:45.480494 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:37:45.483493 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:37:45.486491 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:37:45.496172 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:45] "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_MrtgqQxPM3z229/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:45] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_QP6Dp5sDAvCAOk message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:45] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:37:45.983877 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:37:45.987865 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:37:45.995396 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeSEAbmaEugrFTIjH11NeX",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674297466,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674297466,\n "currency": "eur",\n "current_period_end": 1676975866,\n "current_period_start": 1674297466,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4bs9Crty1afy",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674297466,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeSEAbmaEugrFTIjH11NeX",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeSEAbmaEugrFTIjH11NeX"\n },\n "latest_invoice": {\n "id": "in_1MSeSEAbmaEugrFTA51wY31t",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674297466,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRiTGtFcWpRT0dZNEJtV291aFdRSHJ0SnpJOHBILDY0ODM4MjY2020070NinpuC?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRiTGtFcWpRT0dZNEJtV291aFdRSHJ0SnpJOHBILDY0ODM4MjY2020070NinpuC/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeSEAbmaEugrFTjAIwCv50",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676975866,\n "start": 1674297466\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeSEAbmaEugrFTIjH11NeX",\n "subscription_item": "si_ND4bs9Crty1afy",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeSEAbmaEugrFTA51wY31t/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0423",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeSEAbmaEugrFT1MdhsURj",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeSEAbmaEugrFT1MdhsURj"\n },\n "client_secret": "pi_3MSeSEAbmaEugrFT1MdhsURj_secret_SflU97sAWbCctFV0oKm9RQY2p",\n "confirmation_method": "automatic",\n "created": 1674297466,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeSEAbmaEugrFTA51wY31t",\n "last_payment_error": 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": 1674297466,\n "period_start": 1674297466,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674297466,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeSEAbmaEugrFTIjH11NeX",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674297466\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674297466,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_vL8fqXBcso0NuB message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:37:47] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:41:18.994901 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:41:18.997901 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:41:19.001898 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:41:19.004900 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:19] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_LTJiZXvgTStUMc message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:19] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:41:19.410673 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:41:19.414787 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:41:19.424799 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeVfAbmaEugrFT8RcrvGOo",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674297679,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674297679,\n "currency": "eur",\n "current_period_end": 1676976079,\n "current_period_start": 1674297679,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4e6nU8dbqXfF",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674297680,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeVfAbmaEugrFT8RcrvGOo",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeVfAbmaEugrFT8RcrvGOo"\n },\n "latest_invoice": {\n "id": "in_1MSeVfAbmaEugrFTAiyJAcOr",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674297679,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRlZ216ZlQ2bE9jeGNIVGt4Y0U1QUx6cFdabG9zLDY0ODM4NDgw0200MCbs3KIN?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRlZ216ZlQ2bE9jeGNIVGt4Y0U1QUx6cFdabG9zLDY0ODM4NDgw0200MCbs3KIN/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeVfAbmaEugrFTEQnuWzW9",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676976079,\n "start": 1674297679\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeVfAbmaEugrFT8RcrvGOo",\n "subscription_item": "si_ND4e6nU8dbqXfF",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeVfAbmaEugrFTAiyJAcOr/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0424",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeVgAbmaEugrFT03PZVOHS",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeVgAbmaEugrFT03PZVOHS"\n },\n "client_secret": "pi_3MSeVgAbmaEugrFT03PZVOHS_secret_EsLc7oyZM8pJlLx8CWmGe3DHp",\n "confirmation_method": "automatic",\n "created": 1674297680,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeVfAbmaEugrFTAiyJAcOr",\n "last_payment_error": 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": 1674297679,\n "period_start": 1674297679,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674297679,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeVfAbmaEugrFT8RcrvGOo",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674297679\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674297679,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_DiLBIoIoNS93ue message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:20] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:41:22.513342 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:41:22.516884 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:22] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:41:22.520882 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:41:22.524888 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:22] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:41:23.385991 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:23] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:41:28.694730 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:41:28.697743 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:41:28.701736 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:root:2023-01-21 11:41:28.703739 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card
+INFO:root:2023-01-21 11:41:28.708750 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:root:2023-01-21 11:41:28.712747 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:28] "POST /myclass/api/get_invoice_by_customer/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:41:28.719750 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_HdR7wLLNlIAcUd message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:29] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_5NyAh1ePki3ZwX message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:29] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:41:29.714683 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:41:29.718677 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:41:29.722674 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_hQhy5qYSyvqbx5 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:30] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:41:32.310858 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:41:32.314859 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:41:32.317865 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:41:32.318859 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:32] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:32] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_PLOvfD9GwIiCTz message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:32] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:41:32.791028 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:41:32.795020 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:32] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:41:32.803010 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeVsAbmaEugrFTydX5nWxA",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674297692,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674297692,\n "currency": "eur",\n "current_period_end": 1676976092,\n "current_period_start": 1674297692,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4fpYvOlf7cKq",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674297693,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeVsAbmaEugrFTydX5nWxA",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeVsAbmaEugrFTydX5nWxA"\n },\n "latest_invoice": {\n "id": "in_1MSeVsAbmaEugrFTxW8KrHPM",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674297692,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRmb3plZWJyaUZpMzFRWUVrVzRtQUJENHg4MndvLDY0ODM4NDkz0200tIz7Z1lm?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRmb3plZWJyaUZpMzFRWUVrVzRtQUJENHg4MndvLDY0ODM4NDkz0200tIz7Z1lm/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeVsAbmaEugrFT4dt28jdx",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676976092,\n "start": 1674297692\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeVsAbmaEugrFTydX5nWxA",\n "subscription_item": "si_ND4fpYvOlf7cKq",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeVsAbmaEugrFTxW8KrHPM/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0425",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeVtAbmaEugrFT1HwCZ7Ve",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeVtAbmaEugrFT1HwCZ7Ve"\n },\n "client_secret": "pi_3MSeVtAbmaEugrFT1HwCZ7Ve_secret_fN1iBx5WQbflJAW8XwNcAieM8",\n "confirmation_method": "automatic",\n "created": 1674297693,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeVsAbmaEugrFTxW8KrHPM",\n "last_payment_error": 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": 1674297692,\n "period_start": 1674297692,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674297692,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeVsAbmaEugrFTydX5nWxA",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674297692\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674297692,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_lVFGuB7fEANwKg message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:41:33] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:42:59.047994 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:42:59.053004 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:42:59.053999 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:root:2023-01-21 11:42:59.054987 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:42:59] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:42:59] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_42thPrFo832VZ7 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:42:59] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:42:59.501635 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:42:59.504646 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:42:59] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:42:59.511624 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeXHAbmaEugrFTn5nb7Qp9",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674297779,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674297779,\n "currency": "eur",\n "current_period_end": 1676976179,\n "current_period_start": 1674297779,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4gK6Noi0iOZh",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674297780,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeXHAbmaEugrFTn5nb7Qp9",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeXHAbmaEugrFTn5nb7Qp9"\n },\n "latest_invoice": {\n "id": "in_1MSeXHAbmaEugrFTl1I8nKeK",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674297779,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRnT0dKMDB2RHVFRG5QaGZIN0ZWUjFWaGVrcUFuLDY0ODM4NTgw0200e9bzRVLr?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRnT0dKMDB2RHVFRG5QaGZIN0ZWUjFWaGVrcUFuLDY0ODM4NTgw0200e9bzRVLr/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeXHAbmaEugrFTN2W7NJeE",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676976179,\n "start": 1674297779\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeXHAbmaEugrFTn5nb7Qp9",\n "subscription_item": "si_ND4gK6Noi0iOZh",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeXHAbmaEugrFTl1I8nKeK/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0426",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeXIAbmaEugrFT1CnkN4lJ",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeXIAbmaEugrFT1CnkN4lJ"\n },\n "client_secret": "pi_3MSeXIAbmaEugrFT1CnkN4lJ_secret_jxmWNvTU6ncXp97i7Q8pCaAHU",\n "confirmation_method": "automatic",\n "created": 1674297780,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeXHAbmaEugrFTl1I8nKeK",\n "last_payment_error": 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": 1674297779,\n "period_start": 1674297779,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674297779,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeXHAbmaEugrFTn5nb7Qp9",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674297779\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674297779,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_2MWZdCthnPq7nP message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:43:00] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:45:41.917197 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:45:41.920193 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:45:41.921201 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:45:41] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:45:41.928194 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:45:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:45:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:45:42.907822 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:45:42] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:45:46.730709 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:45:46.733709 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:45:46.738721 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:45:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_V8IigSH8muc8nd message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:45:47] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:45:48.959264 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:45:48.964612 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:45:48.967954 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:45:48.970025 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:45:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:45:48] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_RirPQmg1vjacH5 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:45:49] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:45:49.387737 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:45:49.390734 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:45:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:45:49.404251 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSea1AbmaEugrFTmgDsx05C",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674297949,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674297949,\n "currency": "eur",\n "current_period_end": 1676976349,\n "current_period_start": 1674297949,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4jXHCWsNo6IK",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674297950,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSea1AbmaEugrFTmgDsx05C",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSea1AbmaEugrFTmgDsx05C"\n },\n "latest_invoice": {\n "id": "in_1MSea1AbmaEugrFTmInBZdod",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674297949,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRqWVhRS1d1QXFzSkJzS0hQbnhYeU1xODN4c3lTLDY0ODM4NzUw0200Btc8VHLb?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRqWVhRS1d1QXFzSkJzS0hQbnhYeU1xODN4c3lTLDY0ODM4NzUw0200Btc8VHLb/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSea1AbmaEugrFTsz8txxkS",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676976349,\n "start": 1674297949\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSea1AbmaEugrFTmgDsx05C",\n "subscription_item": "si_ND4jXHCWsNo6IK",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSea1AbmaEugrFTmInBZdod/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0427",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSea2AbmaEugrFT11hZBVWD",\n "object": "payment_intent",\n "amount": 1100,\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_3MSea2AbmaEugrFT11hZBVWD"\n },\n "client_secret": "pi_3MSea2AbmaEugrFT11hZBVWD_secret_5m1lG7zyTb13zpuJGYJa1Uje6",\n "confirmation_method": "automatic",\n "created": 1674297950,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSea1AbmaEugrFTmInBZdod",\n "last_payment_error": 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": 1674297949,\n "period_start": 1674297949,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674297949,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSea1AbmaEugrFTmgDsx05C",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674297949\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674297949,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_siDGQLYIvvrV2k message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:45:50] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:46:39.592081 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:46:39.598088 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:46:39.601086 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:46:39.604081 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:46:39] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:46: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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_CObf5ZbshBHQwx message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:46:40] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:46:40.097053 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:46:40.102048 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:46:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:46:40.109054 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeaqAbmaEugrFT7alZKrfo",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674298000,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674298000,\n "currency": "eur",\n "current_period_end": 1676976400,\n "current_period_start": 1674298000,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4kNzAJMAIaDD",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674298000,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeaqAbmaEugrFT7alZKrfo",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeaqAbmaEugrFT7alZKrfo"\n },\n "latest_invoice": {\n "id": "in_1MSeaqAbmaEugrFTr0LPW5KG",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674298000,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRrWVVSNjZpTFdzUVZ0bjhoeUNkeEw2VWRYc2I1LDY0ODM4ODAx0200272sh8Z3?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRrWVVSNjZpTFdzUVZ0bjhoeUNkeEw2VWRYc2I1LDY0ODM4ODAx0200272sh8Z3/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeaqAbmaEugrFTInFwYRhA",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676976400,\n "start": 1674298000\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeaqAbmaEugrFT7alZKrfo",\n "subscription_item": "si_ND4kNzAJMAIaDD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeaqAbmaEugrFTr0LPW5KG/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0428",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeaqAbmaEugrFT1XuQ31nO",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeaqAbmaEugrFT1XuQ31nO"\n },\n "client_secret": "pi_3MSeaqAbmaEugrFT1XuQ31nO_secret_AzIt80DOBb5UOcay9FO4Eix3x",\n "confirmation_method": "automatic",\n "created": 1674298000,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeaqAbmaEugrFTr0LPW5KG",\n "last_payment_error": 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": 1674298000,\n "period_start": 1674298000,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674298000,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeaqAbmaEugrFT7alZKrfo",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674298000\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674298000,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_0K48HKrzAqM7fg message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:46:41] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:46:44.109855 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:46:44.113844 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:46:44.117166 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:46:44.118220 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:46:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:46:44] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_1DXJfkxqtsxSJo message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:46:44] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:46:44.517294 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:46:44.520307 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:46:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:46:44.527300 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeauAbmaEugrFT4YsaATQK",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674298004,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674298004,\n "currency": "eur",\n "current_period_end": 1676976404,\n "current_period_start": 1674298004,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4kZalONxIGGe",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674298005,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeauAbmaEugrFT4YsaATQK",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeauAbmaEugrFT4YsaATQK"\n },\n "latest_invoice": {\n "id": "in_1MSeauAbmaEugrFTlPS7nj6E",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674298004,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRrcndpS245cFJNQm1SM2lsNFAyRmFXWG9MUE5xLDY0ODM4ODA10200Y3xmDiXA?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRrcndpS245cFJNQm1SM2lsNFAyRmFXWG9MUE5xLDY0ODM4ODA10200Y3xmDiXA/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeauAbmaEugrFTs6xG633S",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676976404,\n "start": 1674298004\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeauAbmaEugrFT4YsaATQK",\n "subscription_item": "si_ND4kZalONxIGGe",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeauAbmaEugrFTlPS7nj6E/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0429",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeavAbmaEugrFT0lX1Uz6l",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeavAbmaEugrFT0lX1Uz6l"\n },\n "client_secret": "pi_3MSeavAbmaEugrFT0lX1Uz6l_secret_Prq2CNFuectpRZmDANq2NjIAP",\n "confirmation_method": "automatic",\n "created": 1674298005,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeauAbmaEugrFTlPS7nj6E",\n "last_payment_error": 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": 1674298004,\n "period_start": 1674298004,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674298004,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeauAbmaEugrFT4YsaATQK",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674298004\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674298004,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_4OWPqBjjK97bgP message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:46:45] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:46:59.094469 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:46:59.097468 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:46:59] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:46:59.101466 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:46:59] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:46:59.109768 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:46:59] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:47:00.143317 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:47:00] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:47:03.990955 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:47:03.993957 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:47:03.998963 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:47:03] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_sMiwVerZUaSg3N message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:47:04] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:47:06.365240 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:47:06.367747 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:47:06.370775 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:47:06.374781 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:47:06] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:47:06] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_7Hl3NLFtxKenkp message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:47:06] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:47:06.836130 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:47:06.840643 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:47:06] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:47:06.847646 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSebHAbmaEugrFThUhBIF1f",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674298026,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674298026,\n "currency": "eur",\n "current_period_end": 1676976426,\n "current_period_start": 1674298026,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4kkRo9oIEFIG",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674298027,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSebHAbmaEugrFThUhBIF1f",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSebHAbmaEugrFThUhBIF1f"\n },\n "latest_invoice": {\n "id": "in_1MSebHAbmaEugrFTYdlBf3Ko",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674298027,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRrZ0hZMVFNbFJtR0tUTHpZMUZ4ODdnbGR3QmhlLDY0ODM4ODI30200gDWxiRWd?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRrZ0hZMVFNbFJtR0tUTHpZMUZ4ODdnbGR3QmhlLDY0ODM4ODI30200gDWxiRWd/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSebHAbmaEugrFTcSuXfkc2",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676976426,\n "start": 1674298026\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSebHAbmaEugrFThUhBIF1f",\n "subscription_item": "si_ND4kkRo9oIEFIG",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSebHAbmaEugrFTYdlBf3Ko/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0430",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSebHAbmaEugrFT1EbIvb4O",\n "object": "payment_intent",\n "amount": 1100,\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_3MSebHAbmaEugrFT1EbIvb4O"\n },\n "client_secret": "pi_3MSebHAbmaEugrFT1EbIvb4O_secret_R4FN0vS3SAgHStUQlwLv5R0E0",\n "confirmation_method": "automatic",\n "created": 1674298027,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSebHAbmaEugrFTYdlBf3Ko",\n "last_payment_error": 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": 1674298026,\n "period_start": 1674298026,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674298027,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSebHAbmaEugrFThUhBIF1f",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674298027\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674298026,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_lSI7lvcyVLcpzA message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:47:08] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:52:13.370008 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:52:13.373998 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:52:13.377998 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:52:13.377998 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:13] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_JwKZt2bHq0ix69 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:13] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:52:13.891098 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:52:13.895124 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:52:13.902116 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSegEAbmaEugrFTOrtddaNg",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674298333,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674298333,\n "currency": "eur",\n "current_period_end": 1676976733,\n "current_period_start": 1674298333,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4pcqj98Ej8aQ",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674298334,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSegEAbmaEugrFTOrtddaNg",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSegEAbmaEugrFTOrtddaNg"\n },\n "latest_invoice": {\n "id": "in_1MSegEAbmaEugrFTRKPixxI4",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674298334,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRwN3lZeFBLSHZOTzFQdGpWc2lRSE9VSmMxakp3LDY0ODM5MTM00200yHQzwSyi?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRwN3lZeFBLSHZOTzFQdGpWc2lRSE9VSmMxakp3LDY0ODM5MTM00200yHQzwSyi/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSegEAbmaEugrFTwdm9orCV",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676976733,\n "start": 1674298333\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSegEAbmaEugrFTOrtddaNg",\n "subscription_item": "si_ND4pcqj98Ej8aQ",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSegEAbmaEugrFTRKPixxI4/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0431",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSegEAbmaEugrFT1GKu0R6M",\n "object": "payment_intent",\n "amount": 1100,\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_3MSegEAbmaEugrFT1GKu0R6M"\n },\n "client_secret": "pi_3MSegEAbmaEugrFT1GKu0R6M_secret_GYGUU2sOahYq8wjgTMjcAUXs6",\n "confirmation_method": "automatic",\n "created": 1674298334,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSegEAbmaEugrFTRKPixxI4",\n "last_payment_error": 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": 1674298333,\n "period_start": 1674298333,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674298334,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSegEAbmaEugrFTOrtddaNg",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674298334\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674298333,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_mnvRwk8NRe6nfe message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:15] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:52:28.701040 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:52:28.705371 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:28] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:52:28.708365 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:52:28.712366 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:52:29.598211 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:29] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:52:30.987885 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:52:30.990897 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:52:30.994893 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_MMv5UJxqqoOUCC message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:31] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:52:33.548728 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:52:33.551216 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:52:33.554342 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:52:33.557338 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:33] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:33] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_g0W0HtaeS8Bqj2 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:33] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:52:34.001017 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:52:34.005018 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:34] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:52:34.049155 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSegYAbmaEugrFTCzgY8qhM",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674298354,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674298354,\n "currency": "eur",\n "current_period_end": 1676976754,\n "current_period_start": 1674298354,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4qrkSZKa6oQX",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674298354,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSegYAbmaEugrFTCzgY8qhM",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSegYAbmaEugrFTCzgY8qhM"\n },\n "latest_invoice": {\n "id": "in_1MSegYAbmaEugrFTsgjPrLso",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674298354,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRxaVFQYjluSmZ0SkdpVjBCV0V5TWJxM1h0c3IwLDY0ODM5MTU00200CNna02Dn?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRxaVFQYjluSmZ0SkdpVjBCV0V5TWJxM1h0c3IwLDY0ODM5MTU00200CNna02Dn/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSegYAbmaEugrFTQNQTQGGw",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676976754,\n "start": 1674298354\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSegYAbmaEugrFTCzgY8qhM",\n "subscription_item": "si_ND4qrkSZKa6oQX",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSegYAbmaEugrFTsgjPrLso/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0432",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSegYAbmaEugrFT0rcDfwwL",\n "object": "payment_intent",\n "amount": 1100,\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_3MSegYAbmaEugrFT0rcDfwwL"\n },\n "client_secret": "pi_3MSegYAbmaEugrFT0rcDfwwL_secret_95y2vyGhJKHNEavM5R3sh8WoD",\n "confirmation_method": "automatic",\n "created": 1674298354,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSegYAbmaEugrFTsgjPrLso",\n "last_payment_error": 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": 1674298354,\n "period_start": 1674298354,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674298354,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSegYAbmaEugrFTCzgY8qhM",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674298354\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674298354,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_6RwRAV5PjaLqOs message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:52:35] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:54:52.299134 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:54:52.303133 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:54:52.305547 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:54:52.307616 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:54:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:54:52] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_KfpMQdzXBRQLwD message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:54:52] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:54:52.733004 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:54:52.737021 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:54:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:54:52.742024 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSeimAbmaEugrFTbreEVrtJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674298492,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674298492,\n "currency": "eur",\n "current_period_end": 1676976892,\n "current_period_start": 1674298492,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4sPESgDp6ukv",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674298493,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSeimAbmaEugrFTbreEVrtJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSeimAbmaEugrFTbreEVrtJ"\n },\n "latest_invoice": {\n "id": "in_1MSeimAbmaEugrFTWWycDkIC",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674298492,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRzUjl1ZjRtVkdzUzFsWkhJR0RlUWx6ZzgwelNiLDY0ODM5Mjkz0200fw4WeaiZ?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDRzUjl1ZjRtVkdzUzFsWkhJR0RlUWx6ZzgwelNiLDY0ODM5Mjkz0200fw4WeaiZ/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSeimAbmaEugrFTm8ByyzYb",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676976892,\n "start": 1674298492\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSeimAbmaEugrFTbreEVrtJ",\n "subscription_item": "si_ND4sPESgDp6ukv",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSeimAbmaEugrFTWWycDkIC/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0433",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSeinAbmaEugrFT0PjkILiq",\n "object": "payment_intent",\n "amount": 1100,\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_3MSeinAbmaEugrFT0PjkILiq"\n },\n "client_secret": "pi_3MSeinAbmaEugrFT0PjkILiq_secret_dM359u5JnYyPdzSrRR934zEsH",\n "confirmation_method": "automatic",\n "created": 1674298493,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSeimAbmaEugrFTWWycDkIC",\n "last_payment_error": 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": 1674298492,\n "period_start": 1674298492,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674298492,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSeimAbmaEugrFTbreEVrtJ",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674298492\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674298492,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_HtFPFvYiRhjph1 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:54:54] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:56:43.403725 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:56:43.407725 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:56:43] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:56:43.410727 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:56:43.415725 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:56:43] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:56:43] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:56:44.263539 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:56:44] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:56:47.372709 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:56:47.374723 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:56:47.378730 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:56:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_oMi7JMaF6Dfern message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:56:47] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:56:48.771919 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:56:48.776150 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:56:48.778207 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:56:48.781208 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:56:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:56:48] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSS0cAbmaEugrFTiFwHoi59",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674249626,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_uTd0sYQ2PYmY0u message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:56:49] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:56:49.227922 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:56:49.232915 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:56:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:56:49.239933 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSekfAbmaEugrFTfiiFVL7e",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674298609,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674298609,\n "currency": "eur",\n "current_period_end": 1676977009,\n "current_period_start": 1674298609,\n "customer": "cus_MrtgqQxPM3z229",\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_ND4u8auDCmaKYR",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674298609,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSekfAbmaEugrFTfiiFVL7e",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSekfAbmaEugrFTfiiFVL7e"\n },\n "latest_invoice": {\n "id": "in_1MSekfAbmaEugrFT4yufOeyJ",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674298609,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDR1UWtkbVV1M29MbHVyTThmREhNM1RQd2VTOU43LDY0ODM5NDEw0200gW48Vov0?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDR1UWtkbVV1M29MbHVyTThmREhNM1RQd2VTOU43LDY0ODM5NDEw0200gW48Vov0/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSekfAbmaEugrFTKBz53w4Y",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676977009,\n "start": 1674298609\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSekfAbmaEugrFTfiiFVL7e",\n "subscription_item": "si_ND4u8auDCmaKYR",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSekfAbmaEugrFT4yufOeyJ/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0434",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSekfAbmaEugrFT0QlB7lBX",\n "object": "payment_intent",\n "amount": 1100,\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_3MSekfAbmaEugrFT0QlB7lBX"\n },\n "client_secret": "pi_3MSekfAbmaEugrFT0QlB7lBX_secret_DEQ3y9ENFLpGvdm0qD5W7K1Ay",\n "confirmation_method": "automatic",\n "created": 1674298609,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSekfAbmaEugrFT4yufOeyJ",\n "last_payment_error": 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": 1674298609,\n "period_start": 1674298609,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674298609,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSekfAbmaEugrFTfiiFVL7e",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674298609\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674298609,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_wSZX7gQnwICoMI message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:56:50] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:56:54.241762 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n\n\t\n\t\t

\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoire
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_23100067\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\t\n\t\t\t\t\t\tDate de facture: 21/01/2023 | \n\t\t\t\t\t\tDate échéance : 21/01/2023 | \n\t\t\t\t\t
\n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_00eGBe\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tDescription | \n\t\t\t\t\t\t\tQuantité | \n\t\t\t\t\t\t\tPrix unitaire | \n\t\t\t\t\t\t\tMontant | \n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tStandard | \n\t\t\t\t\t\t\t4 | \n\t\t\t\t\t\t\t50 | \n\t\t\t\t\t\t\t200.0 | \n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\n\t\t\t\t
\n\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t | \n\t\t\t\t\t | \n\t\t\t\t\tMontant HT: | \n\t\t\t\t\t200.0 | \n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t\t\t | \n\t\t\t\t\t | \n\t\t\t\t\tTVA 20% : | \n\t\t\t\t\t40.0 | \n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t\t\t | \n\t\t\t\t\t | \n\t\t\t\t\tMontant TTC : | \n\t\t\t\t\t240.0 | \n\t\t\t\t
\n\t\t\t
\n\n\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\n\n\n\t\t
\n\n\t
\n\t
\n\t\n\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_23100067.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): 0xe5556690
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0
+DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
+INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
+DEBUG:paramiko.transport:=== Key exchange possibilities ===
+DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
+DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
+DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:client lang:
+DEBUG:paramiko.transport:server lang:
+DEBUG:paramiko.transport:kex follows: False
+DEBUG:paramiko.transport:=== Key exchange agreements ===
+DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
+DEBUG:paramiko.transport:HostKey: ssh-ed25519
+DEBUG:paramiko.transport:Cipher: aes128-ctr
+DEBUG:paramiko.transport:MAC: hmac-sha2-256
+DEBUG:paramiko.transport:Compression: none
+DEBUG:paramiko.transport:=== End of kex handshake ===
+DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo
+DEBUG:paramiko.transport:Switch to new keys ...
+DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
+DEBUG:paramiko.transport:Attempting password auth...
+DEBUG:paramiko.transport:userauth is OK
+INFO:paramiko.transport:Authentication (password) successful!
+DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
+DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
+DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
+DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
+DEBUG:paramiko.transport:Secsh channel 0 opened.
+DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
+INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3)
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100067.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100067.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_23100067.pdf')
+INFO:root:2023-01-21 11:56:59.932354 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_23100067.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100067.pdf EST OKKKK
+INFO:paramiko.transport.sftp:[chan 0] sftp session closed.
+DEBUG:paramiko.transport:[chan 0] EOF sent (0)
+DEBUG:paramiko.transport:EOF in transport thread
+INFO:root:2023-01-21 11:56:59.933366 : Impression facture N° FACT_23100067 OK
+INFO:root:2023-01-21 11:56:59.953888 : UpdataPartnerRankingClass - Le RANKING de 11 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-21 11:56:59.941368', 'isalaune': '1'}
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:56:59] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:57:00.097959 : 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_3MSekfAbmaEugrFT0QlB7lBX/confirm
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_card_visa
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MSekfAbmaEugrFT0QlB7lBX/confirm response_code=200
+DEBUG:stripe:body='{\n "id": "pi_3MSekfAbmaEugrFT0QlB7lBX",\n "object": "payment_intent",\n "amount": 1100,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 1100,\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_3MSekfAbmaEugrFT0Hcp9aBV",\n "object": "charge",\n "amount": 1100,\n "amount_captured": 1100,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MSekfAbmaEugrFT08z5umXI",\n "billing_details": {\n "address": {\n "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 "calculated_statement_descriptor": "Stripe",\n "captured": true,\n "created": 1674298620,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\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_1MSekfAbmaEugrFT4yufOeyJ",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 1,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MSekfAbmaEugrFT0QlB7lBX",\n "payment_method": "pm_1MSekqAbmaEugrFTiSWNQiIm",\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": "US",\n "exp_month": 1,\n "exp_year": 2024,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "installments": null,\n "last4": "4242",\n "mandate": null,\n "network": "visa",\n "three_d_secure": null,\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKP2Jr54GMgYmEBIn-Dk6LBZuONG8uSNJWLqKPqObhBSh6RjFetHre0m3bVpk3R0wldrO9el1IXU1BeGe?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_3MSekfAbmaEugrFT0Hcp9aBV/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_3MSekfAbmaEugrFT0QlB7lBX"\n },\n "client_secret": "pi_3MSekfAbmaEugrFT0QlB7lBX_secret_DEQ3y9ENFLpGvdm0qD5W7K1Ay",\n "confirmation_method": "automatic",\n "created": 1674298609,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSekfAbmaEugrFT4yufOeyJ",\n "last_payment_error": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MSekqAbmaEugrFTiSWNQiIm",\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_cGrdQJ4AWNFxpX message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:57:01] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:57:05.274359 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:57:05.280360 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:57:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 11:57:05.283354 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:57:05.286349 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:57:05.289348 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 11:57:05.294353 : 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_MrtgqQxPM3z229/payment_methods?type=card
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:57:05] "POST /myclass/api/get_invoice_by_customer/ HTTP/1.1" 200 -
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:root:2023-01-21 11:57:05.301353 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:57: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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSekqAbmaEugrFTiSWNQiIm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674298620,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_65OKxl8YvZ0fMr message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:57:05] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSekqAbmaEugrFTiSWNQiIm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674298620,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_IaX32qx1BDaYCE message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 11:57:05] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_mgt.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2131181146704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2131181146704 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2131181146704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2131181146704 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 2131180945552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2131180945552 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2131180945552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2131180945552 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2130935722000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2130935722000 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2130935722000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2130935722000 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 12:01:57.836694 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 12:01:57.837713 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 12:01:57.837713 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 12:01:57.837713 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+INFO:root:2023-01-21 12:04:51.372197 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:paramiko.transport:starting thread (client mode): 0x33dd7ed0
+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] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/')
+DEBUG:paramiko.transport.sftp:[chan 0] normalize(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/')
+DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100067.pdf')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100067.pdf', 'rb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100067.pdf', 'rb') -> 00000000
+DEBUG:paramiko.transport.sftp:[chan 0] close(00000000)
+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:werkzeug:127.0.0.1 - - [21/Jan/2023 12:04:55] "GET /myclass/api/GetCustomerInvoice/Khj9OnIPxc8cZfkVm2mdU9TVgrbhn3_MuA/FACT_23100067 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 2518228852560 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2518228852560 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2518228852560 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2518228852560 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 2518302822416 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2518302822416 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2518302822416 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2518302822416 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2518302351504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2518302351504 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 12:06:23.859548 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 12:06:23.859548 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+INFO:root:2023-01-21 12:06:23.859548 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 12:06:23.859548 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Attempting to release lock 2518302351504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2518302351504 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+INFO:root:2023-01-21 12:07:23.360914 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 12:07:23.390398 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:07:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 12:08:25.027035 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 12:08:25.032578 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:08:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 12:08:25.043576 : 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_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSekqAbmaEugrFTiSWNQiIm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674298620,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_yPsQDi9po9CmUu message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:08:25] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_mgt.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2726588680528 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2726588680528 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2726588680528 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2726588680528 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 2726588613264 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2726588613264 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2726588613264 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2726588613264 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2726594091984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2726594091984 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2726594091984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2726594091984 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 12:10:36.195660 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-01-21 12:10:36.195660 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-01-21 12:10:36.195660 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 12:10:36.195660 : ++ 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\\ela_factures_mgt.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2706322775440 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2706322775440 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+DEBUG:filelock:Attempting to release lock 2706322775440 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2706322775440 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 2706333339792 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2706333339792 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Not updating because file is fresh enough.
+DEBUG:filelock:Attempting to release lock 2706333339792 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2706333339792 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2706334514384 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 12:12:15.140634 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+DEBUG:filelock:Lock 2706334514384 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-01-21 12:12:15.140634 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt
+INFO:root:2023-01-21 12:12:15.141631 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-01-21 12:12:15.141631 : ++ FLASK PORT 5001 ++
+DEBUG:filelock:Attempting to release lock 2706334514384 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2706334514384 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+INFO:root:2023-01-21 12:12:25.183706 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 12:12:25.186706 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 12:12:25.188706 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:25] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 12:12:25.199702 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:25] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 12:12:26.109779 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:26] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 12:12:28.129044 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 12:12:28.132041 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 12:12:28.136481 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSekqAbmaEugrFTiSWNQiIm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674298620,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_0XQQHrruPtmR6K message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:28] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 12:12:30.276426 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 12:12:30.280739 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 12:12:30.283975 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 12:12:30.285029 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:30] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSekqAbmaEugrFTiSWNQiIm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674298620,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSEPAbmaEugrFTrbmF6BHQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674250481,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_J2ltCoDPLIMxCk message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:30] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 12:12:30.744774 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 12:12:30.750776 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 12:12:30.769773 : 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_MrtgqQxPM3z229&items[0][price]=price_1LpyndAbmaEugrFTKZAAkm72&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MSezqAbmaEugrFTp7K51Dlh",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674299550,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674299550,\n "currency": "eur",\n "current_period_end": 1676977950,\n "current_period_start": 1674299550,\n "customer": "cus_MrtgqQxPM3z229",\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_ND5AlPRExLPfTt",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674299551,\n "metadata": {},\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "quantity": 1,\n "subscription": "sub_1MSezqAbmaEugrFTp7K51Dlh",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MSezqAbmaEugrFTp7K51Dlh"\n },\n "latest_invoice": {\n "id": "in_1MSezqAbmaEugrFT2YA2v2lz",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "dd",\n "account_tax_ids": null,\n "amount_due": 1100,\n "amount_paid": 0,\n "amount_remaining": 1100,\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": 1674299550,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MrtgqQxPM3z229",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDVBN3hZMHBFNTFpWHA1Y3AwWG5EZGxkd3NEWVpGLDY0ODQwMzUx0200Kv2f9Yfe?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORDVBN3hZMHBFNTFpWHA1Y3AwWG5EZGxkd3NEWVpGLDY0ODQwMzUx0200Kv2f9Yfe/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MSezqAbmaEugrFTJvXnzk1v",\n "object": "line_item",\n "amount": 1100,\n "amount_excluding_tax": 1100,\n "currency": "eur",\n "description": "1 × sample_premium (at €11.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1676977950,\n "start": 1674299550\n },\n "plan": {\n "id": "price_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1665080881,\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": "unspecified",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 1100,\n "unit_amount_decimal": "1100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MSezqAbmaEugrFTp7K51Dlh",\n "subscription_item": "si_ND5AlPRExLPfTt",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "1100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MSezqAbmaEugrFT2YA2v2lz/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0435",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MSezrAbmaEugrFT1uCWylwt",\n "object": "payment_intent",\n "amount": 1100,\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_3MSezrAbmaEugrFT1uCWylwt"\n },\n "client_secret": "pi_3MSezrAbmaEugrFT1uCWylwt_secret_xzrxIbU2AgZlsoGAUFfnsyC6L",\n "confirmation_method": "automatic",\n "created": 1674299551,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSezqAbmaEugrFT2YA2v2lz",\n "last_payment_error": 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": 1674299550,\n "period_start": 1674299550,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674299550,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MSezqAbmaEugrFTp7K51Dlh",\n "subtotal": 1100,\n "subtotal_excluding_tax": 1100,\n "tax": null,\n "test_clock": null,\n "total": 1100,\n "total_discount_amounts": [],\n "total_excluding_tax": 1100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674299550\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_1LpyndAbmaEugrFTKZAAkm72",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 1100,\n "amount_decimal": "1100",\n "billing_scheme": "per_unit",\n "created": 1665080881,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674299550,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_SrIGVjYudV6npU message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:32] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 12:12:37.458803 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n\n\t\n\t\t

\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoire
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_23100068\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\t\n\t\t\t\t\t\tDate de facture: 21/01/2023 | \n\t\t\t\t\t\tDate échéance : 21/01/2023 | \n\t\t\t\t\t
\n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_00iEn7\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tDescription | \n\t\t\t\t\t\t\tQuantité | \n\t\t\t\t\t\t\tPrix unitaire | \n\t\t\t\t\t\t\tMontant | \n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tGold | \n\t\t\t\t\t\t\t10 | \n\t\t\t\t\t\t\t90 | \n\t\t\t\t\t\t\t900.0 | \n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t\t | \n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\n\t\t\t\t
\n\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t | \n\t\t\t\t\t | \n\t\t\t\t\tMontant HT: | \n\t\t\t\t\t900.0 | \n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t\t\t | \n\t\t\t\t\t | \n\t\t\t\t\tTVA 20% : | \n\t\t\t\t\t180.0 | \n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t\t\t | \n\t\t\t\t\t | \n\t\t\t\t\tMontant TTC : | \n\t\t\t\t\t1080.0 | \n\t\t\t\t
\n\t\t\t
\n\n\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\n\n\n\t\t
\n\n\t
\n\t
\n\t\n\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_23100068.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): 0x1d699610
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0
+DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
+INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
+DEBUG:paramiko.transport:=== Key exchange possibilities ===
+DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
+DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
+DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:client lang:
+DEBUG:paramiko.transport:server lang:
+DEBUG:paramiko.transport:kex follows: False
+DEBUG:paramiko.transport:=== Key exchange agreements ===
+DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
+DEBUG:paramiko.transport:HostKey: ssh-ed25519
+DEBUG:paramiko.transport:Cipher: aes128-ctr
+DEBUG:paramiko.transport:MAC: hmac-sha2-256
+DEBUG:paramiko.transport:Compression: none
+DEBUG:paramiko.transport:=== End of kex handshake ===
+DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo
+DEBUG:paramiko.transport:Switch to new keys ...
+DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
+DEBUG:paramiko.transport:Attempting password auth...
+DEBUG:paramiko.transport:userauth is OK
+INFO:paramiko.transport:Authentication (password) successful!
+DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
+DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
+DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
+DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
+DEBUG:paramiko.transport:Secsh channel 0 opened.
+DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
+INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3)
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100068.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100068.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_23100068.pdf')
+INFO:root:2023-01-21 12:12:43.570708 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_23100068.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100068.pdf EST OKKKK
+INFO:paramiko.transport.sftp:[chan 0] sftp session closed.
+DEBUG:paramiko.transport:[chan 0] EOF sent (0)
+DEBUG:paramiko.transport:EOF in transport thread
+INFO:root:2023-01-21 12:12:43.571700 : Impression facture N° FACT_23100068 OK
+INFO:root:2023-01-21 12:12:43.592706 : UpdataPartnerRankingClass - Le RANKING de 11 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-21 12:12:43.578694', 'isalaune': '1'}
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:43] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 12:12:43.727270 : 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_3MSezrAbmaEugrFT1uCWylwt/confirm
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_card_visa
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MSezrAbmaEugrFT1uCWylwt/confirm response_code=200
+DEBUG:stripe:body='{\n "id": "pi_3MSezrAbmaEugrFT1uCWylwt",\n "object": "payment_intent",\n "amount": 1100,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 1100,\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_3MSezrAbmaEugrFT1O93w1fW",\n "object": "charge",\n "amount": 1100,\n "amount_captured": 1100,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MSezrAbmaEugrFT11hVvD08",\n "billing_details": {\n "address": {\n "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 "calculated_statement_descriptor": "Stripe",\n "captured": true,\n "created": 1674299564,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\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_1MSezqAbmaEugrFT2YA2v2lz",\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": 9,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MSezrAbmaEugrFT1uCWylwt",\n "payment_method": "pm_1MSf03AbmaEugrFTcZSMvipW",\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": "US",\n "exp_month": 1,\n "exp_year": 2024,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "installments": null,\n "last4": "4242",\n "mandate": null,\n "network": "visa",\n "three_d_secure": null,\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKK2Rr54GMgZWzU6P1DQ6LBZG2GBs05XBiYNXfC8ND_TrDm94XJcbmad2RcJvg6b6DoCRt2-rbyabWBgX?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_3MSezrAbmaEugrFT1O93w1fW/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_3MSezrAbmaEugrFT1uCWylwt"\n },\n "client_secret": "pi_3MSezrAbmaEugrFT1uCWylwt_secret_xzrxIbU2AgZlsoGAUFfnsyC6L",\n "confirmation_method": "automatic",\n "created": 1674299551,\n "currency": "eur",\n "customer": "cus_MrtgqQxPM3z229",\n "description": "Subscription creation",\n "invoice": "in_1MSezqAbmaEugrFT2YA2v2lz",\n "last_payment_error": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MSf03AbmaEugrFTcZSMvipW",\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_pwTc0v4GVsXG2K message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:45] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 12:12:46.272635 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 12:12:46.275633 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-01-21 12:12:46.282635 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:root:2023-01-21 12:12:46.283636 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 12:12:46.287633 : 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_MrtgqQxPM3z229/payment_methods?type=card
+INFO:root:2023-01-21 12:12:46.289633 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:46] "POST /myclass/api/get_invoice_by_customer/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 12:12:46.301650 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/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_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSf03AbmaEugrFTcZSMvipW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674299563,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSekqAbmaEugrFTiSWNQiIm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674298620,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_wT4kQKrIVOlilH message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:46] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MrtgqQxPM3z229/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MSf03AbmaEugrFTcZSMvipW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674299563,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSekqAbmaEugrFTiSWNQiIm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674298620,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe7FAbmaEugrFTM6FuOHMo",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674296165,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSe5xAbmaEugrFTo0C3AALd",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "dsfdsfsdds : 11h15",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 4,\n "exp_year": 2024,\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": 1674296086,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSdBoAbmaEugrFTqf0JYafh",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674292604,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSyYAbmaEugrFT3rpq5QTE",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674253342,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSnSAbmaEugrFTGd9EvkUu",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252654,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSkLAbmaEugrFTReFHGawn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674252461,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSckAbmaEugrFTdQOsLyou",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251990,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MSSZTAbmaEugrFTAZymXiht",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "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": 1,\n "exp_year": 2024,\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": 1674251787,\n "customer": "cus_MrtgqQxPM3z229",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MrtgqQxPM3z229/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_YXkArZVvInHWQC message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [21/Jan/2023 12:12:46] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-01-21 12:13:07.425458 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:paramiko.transport:starting thread (client mode): 0x1e5623d0
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0
+DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
+INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
+DEBUG:paramiko.transport:=== Key exchange possibilities ===
+DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
+DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
+DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:client lang:
+DEBUG:paramiko.transport:server lang:
+DEBUG:paramiko.transport:kex follows: False
+DEBUG:paramiko.transport:=== Key exchange agreements ===
+DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
+DEBUG:paramiko.transport:HostKey: ssh-ed25519
+DEBUG:paramiko.transport:Cipher: aes128-ctr
+DEBUG:paramiko.transport:MAC: hmac-sha2-256
+DEBUG:paramiko.transport:Compression: none
+DEBUG:paramiko.transport:=== End of kex handshake ===
+DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo
+DEBUG:paramiko.transport:Switch to new keys ...
+DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
+DEBUG:paramiko.transport:Attempting password auth...
+DEBUG:paramiko.transport:userauth is OK
+INFO:paramiko.transport:Authentication (password) successful!
+DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
+DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
+DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
+DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
+DEBUG:paramiko.transport:Secsh channel 0 opened.
+DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
+INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3)
+DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/')
+DEBUG:paramiko.transport.sftp:[chan 0] normalize(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/')
+DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100068.pdf')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100068.pdf', 'rb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_23100068.pdf', 'rb') -> 00000000
+DEBUG:paramiko.transport.sftp:[chan 0] close(00000000)
+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:werkzeug:127.0.0.1 - - [21/Jan/2023 12:13:08] "GET /myclass/api/GetCustomerInvoice/Khj9OnIPxc8cZfkVm2mdU9TVgrbhn3_MuA/FACT_23100068 HTTP/1.1" 200 -
diff --git a/ela_factures_mgt.py b/ela_factures_mgt.py
index 57b4286..699fbe8 100644
--- a/ela_factures_mgt.py
+++ b/ela_factures_mgt.py
@@ -300,7 +300,7 @@ def add_payement_mode(diction):
str(inspect.stack()[0][3]) + " : Impossible de créer la carte de payement dans Stripe")
return False, "Impossible d'ajouter le mode de paiement."
- print(" ### la carte est créée : "+str(created_stripe_cart))
+ #print(" ### la carte est créée : "+str(created_stripe_cart))
if (str(new_data['type']) == "sepa"):
@@ -352,7 +352,7 @@ def add_payement_mode(diction):
'''
-Cette fonction recuperer le mode de payement par defaut d'un client
+Cette fonction recupere le mode de payement par defaut d'un client
'''
def get_payement_mode(diction):
try:
@@ -428,26 +428,13 @@ def get_payement_mode(diction):
tmp_diction = {}
tmp_diction['stripe_account_id'] = str(stripe_account_id)
- #print("## recherche mod de payement stripe_account_id = "+str(stripe_account_id) )
+ #print("### recherche mod de payement stripe_account_id = "+str(stripe_account_id) )
localStatus, payment_cards = Stripe.get_customer_payement_cards(tmp_diction)
- val_tmp = {}
- for tmp in payment_cards:
- # RetObject.append(JSONEncoder().encode(user))
- val_tmp = tmp
- RetObject_stripe.append(val_tmp)
- #RetObject_stripe.append(JSONEncoder().encode(tmp))
- #print(" #### mode de payement via stripe = "+str(RetObject_stripe))
- RetObject = []
- coll_facture = MYSY_GV.dbname['payement_mode']
-
- for retVal in coll_facture.find({'client_recid': user_recid, 'valide': '1'}):
- user = retVal
- user['stripe_paymentmethod_id'] = stripe_paymentmethod_id
- RetObject.append(JSONEncoder().encode(user))
+ RetObject_stripe.append(payment_cards[0])
return True, RetObject_stripe
@@ -543,7 +530,7 @@ def createOrder(diction):
new_data['nb_product'] = str(nb_line)
i = 0
total_ht = 0
-
+ nb_formation = ""
while (i < nb_line):
#print("PRODUIT N° " + str((i + 1)) + " : " )
line_dict = json.loads(diction[str(i)])
@@ -562,12 +549,15 @@ def createOrder(diction):
new_data_item['code'] = line_dict['code']
new_data_item['prix'] = line_dict['prix']
new_data_item['qty'] = line_dict['qty']
+ nb_formation = line_dict['qty']
new_data_item['pack_products'] = line_dict['pack_products']
new_data_item['amount'] = str(montant_line)
row = "item_"+str(i)
new_data[str(row)] = new_data_item
+
+
i = i + 1
@@ -578,6 +568,7 @@ def createOrder(diction):
total_ttc_float = mycommon.tryFloat(str(new_data['total_ttc']))
#print("str(new_data['total_ttc']) === " + str(total_ttc_float))
+
if (tmp_count <= 0 and total_ttc_float > 0):
mycommon.myprint(
str(inspect.stack()[0][3]) + " Aucune donnée de payement, Impossible de créer la commande ")
@@ -753,7 +744,8 @@ def createOrder(diction):
coll_partner = MYSY_GV.dbname['partnair_account']
ret_val = coll_partner.find_one_and_update(
{'recid': str(user_recid), },
- {"$set": {'pack_service':str(mypack)}},
+ {"$set": {'pack_service':str(mypack),
+ 'nb_formation':str(nb_formation)}},
upsert=False,
return_document=ReturnDocument.AFTER
)
@@ -772,8 +764,8 @@ def createOrder(diction):
CreateInvoice(new_data)
# Apres la facturation, on met à jour le display_ranking des formations du partenaire.
- tmp_diction = {"partnaire_recid":str(user_recid), "new_pack_na"
- "me":str(mypack)}
+ 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:
diff --git a/email_inscription_mgt.py b/email_inscription_mgt.py
index f619817..258d525 100644
--- a/email_inscription_mgt.py
+++ b/email_inscription_mgt.py
@@ -148,7 +148,7 @@ def incription_training_confirmation_mail(diction):
msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
msg['Subject'] = '[MySy Training]: Confirmation inscription formation'
msg['To'] = str(diction['email'])
@@ -250,7 +250,7 @@ def incription_training_refused_mail(diction):
msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
msg['Subject'] = '[MySy Training]: Inscription formation refusée'
msg['To'] = str(diction['email'])
@@ -338,7 +338,7 @@ def Pre_incription_training_confirmation_mail(diction):
msg.set_content(sourceHtml, subtype='html')
msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
msg['Subject'] = '[MySy Training] : pre-inscription formation'
msg['To'] = str(diction['email'])
@@ -535,7 +535,7 @@ def Evaluation_training_confirmation_mail(diction):
msg.set_content(sourceHtml, subtype='html')
msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
msg['Subject'] = 'MySy Training : Evaluation formation : '+str(diction['title'])
msg['To'] = str(diction['email'])
@@ -607,7 +607,7 @@ def SendAttestion_to_attendee_by_email(diction):
msg.set_content(sourceHtml, subtype='html')
msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
msg['Subject'] = 'MySy Training : Votre attestation de formation : ' + str(diction['title'])
msg['To'] = str(diction['email'])
diff --git a/email_mgt.py b/email_mgt.py
index b883402..513d1f5 100644
--- a/email_mgt.py
+++ b/email_mgt.py
@@ -161,7 +161,7 @@ def send_partner_account_mail_old(message, account_mail):
msg['Subject'] = '[MySy Training]: activation de votre compte PRO'
msg['From'] = 'contact@mysy-training.com'
msg['To'] = str(toaddrs)
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
to = [{"email": str(account_mail)}]
bcc = [{"email": "contact@mysy-training.com"}]
@@ -353,7 +353,7 @@ def Pro_Account_Token_Pass_old(account_mail, my_token):
msg['Subject'] = '[MySy Training]: votre compte PRO est pret'
msg['From'] = 'contact@mysy-training.com'
msg['To'] = str(toaddrs)
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
cle = my_token
@@ -473,7 +473,7 @@ def SalesOrderConfirmationEmail_old(account_mail, diction):
msg['Subject'] = '[MySy Training]: votre compte PRO est pret'
msg['From'] = 'contact@mysy-training.com'
msg['To'] = str(toaddrs)
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
to = [{"email": str(account_mail)}]
@@ -623,7 +623,7 @@ def SendInvoiceEmail_Old(account_mail, diction):
msg['Subject'] = '[MySy Training]: votre compte PRO est pret'
msg['From'] = 'contact@mysy-training.com'
msg['To'] = str(toaddrs)
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
to = [{"email": str(account_mail)}]
@@ -1082,7 +1082,7 @@ def SalesOrderConfirmationEmail(account_mail, diction):
msg['Subject'] = "[MySy Training] : Confirmation commande N°"+str(order_id)
msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
msg['To'] = str(mail_recever)
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
msg.add_attachment('./Template/MySy_CGV.pdf')
with open('./Template/MySy_CGV.pdf', 'rb') as content_file:
@@ -1226,7 +1226,7 @@ def send_partner_account_mail(message, account_mail):
msg['Subject'] = '[MySy Training]: activation de votre compte PRO'
msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
msg['To'] = str(toaddrs)
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
to = [{"email": str(account_mail)}]
bcc = [{"email": "contact@mysy-training.com"}]
@@ -1295,7 +1295,7 @@ def Pro_Account_Token_Pass(account_mail, my_token):
cle = my_token
msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
msg['To'] = str(toaddrs)
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
to = [{"email": str(account_mail)}]
bcc = [{"email": "contact@mysy-training.com"}]
@@ -1361,7 +1361,7 @@ def send_user_thks_mail(message, account_mail):
msg.set_content(sourceHtml, subtype='html')
msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
msg['Subject'] = '[MySy Training]: Votre compte est actif '
msg['To'] = str(account_mail)
@@ -1423,7 +1423,7 @@ def send_user_init_pwd_mail(token, account_mail, type_account):
msg.set_content(sourceHtml, subtype='html')
msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
msg['Subject'] = '[MySy Training Technology] : Reinitialisez votre mot de passe'
msg['To'] = str(account_mail)
@@ -1485,7 +1485,7 @@ def EmailDemandeInfoClass( diction):
msg.set_content(sourceHtml, subtype='html')
msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
msg['Subject'] = "[MySy Training Technology] : Demande d'information sur une formation"
msg['To'] = str(diction['email_partnair'])
@@ -1652,7 +1652,7 @@ def SendInvoiceEmail(account_mail, diction):
msg.set_content(sourceHtml, subtype='html')
msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
msg['Subject'] = "[MySy Training Technology] : Votre facture N° "+str(invoice_id)
msg['To'] = str(toaddrs)
@@ -1755,7 +1755,7 @@ def SendEmargementMail( diction):
msg.set_content(sourceHtml, subtype='html')
msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
msg['Subject'] = "[MySy Training Technology] : Emargement Matinée du "+str(val_emarge['date'])
msg['To'] = str(val_emarge['email'])
@@ -1875,7 +1875,7 @@ def ManualSendInvoiceEmailRIB(diction):
msg.set_content(sourceHtml, subtype='html')
msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
- msg['Cc'] = 'contact@mysy-training.com'
+ msg['Bcc'] = 'contact@mysy-training.com'
msg['Subject'] = "[MySy Training Technology] : Votre facture N° FACT_221100019"
msg['To'] = 'billardman1@gmail.com'
@@ -1892,3 +1892,58 @@ def ManualSendInvoiceEmailRIB(diction):
exc_type, exc_obj, exc_tb = sys.exc_info()
print(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno))
return False, " impossible d'envoyer la facure"
+
+
+"""
+Cette fonction envoie un email pour notifier a un partenaire l'arrete d'un abonnement
+"""
+def EmailStopAbonnement( partners_email, partners_pack_service, partners_date_arret, partners_nom):
+ 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_Stop_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),
+
+ },
+ }
+
+ 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] : Arret 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 "
diff --git a/partners.py b/partners.py
index c0826e6..36e6d52 100644
--- a/partners.py
+++ b/partners.py
@@ -983,7 +983,7 @@ def partner_login(diction):
# Verification que les informations sont juste
coll_name = MYSY_GV.dbname['partnair_account']
ret_val = coll_name.find_one_and_update({'email': str(email), 'pwd': str(pwd), 'active': '1', 'locked':'0'},
- {"$set": {'last_connexion':str(now)}},
+ {"$set": {'lastconnexion':str(now)}},
upsert=False,
return_document=ReturnDocument.AFTER
)
diff --git a/strype_payement.py b/strype_payement.py
index 6609015..c61ba78 100644
--- a/strype_payement.py
+++ b/strype_payement.py
@@ -17,6 +17,7 @@ import sys, os
import time
from datetime import datetime
from dateutil.relativedelta import relativedelta
+import email_mgt as email_mgt
# Setup Stripe python client library
load_dotenv(find_dotenv())
@@ -229,7 +230,7 @@ def create_update_payment_card(diction):
stripe_paymentmethod_id,
)
- print(" #### detache "+str(detache))
+ #print(" #### detache "+str(detache))
@@ -547,6 +548,7 @@ def stop_strip_subscription(diction):
return False, " Impossible d'annuler le payement "
+
#a = stripe.SubscriptionSchedule.release( str(local_ret_val['stripe_subscription_id']), )
a = stripe.Subscription.modify(
str(local_ret_val['stripe_subscription_id']),
@@ -574,6 +576,16 @@ def stop_strip_subscription(diction):
str(inspect.stack()[0][3]) + " - Arret abonnement : impossible de mettre à jour le client")
return False, False, "Arret abonnement : : impossible de mettre à jour le client"
+ 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.EmailStopAbonnement( partners_email, partners_pack_service, partners_date_arret, partners_nom)
+
+ if( local_ret_val is False):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - WARNING : Arret abonnement, Impossible d'envoyer le mail de notification au partenaire")
return True, " Votre abonement va s'arreter le "+str(arrete_abonnement_formated)