From 2d6cbc94f2caf84ed1f4fd5ec4d4d820783adc58 Mon Sep 17 00:00:00 2001 From: cherif Date: Tue, 22 Nov 2022 22:43:56 +0100 Subject: [PATCH] 22/11/22 - 22h30 --- .idea/workspace.xml | 21 +- Inscription_mgt.py | 30 +- Log/log_file.log | 1145 +++++++++++++++++++++ Template/MySy_Demande_Info_Class_tpl.html | 262 +++-- class_mgt.py | 22 +- data_indexees.csv | 7 +- ela_factures_mgt.py | 149 ++- ela_output_test_file_pandas_2.txt | 9 +- email_inscription_mgt.py | 103 ++ email_mgt.py | 14 +- 10 files changed, 1577 insertions(+), 185 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index a14bb58..53e337a 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,16 +1,17 @@ - + - + + + + - - @@ -115,7 +123,8 @@ - diff --git a/Inscription_mgt.py b/Inscription_mgt.py index b73c7d9..f4a6bed 100644 --- a/Inscription_mgt.py +++ b/Inscription_mgt.py @@ -183,7 +183,7 @@ Mettre à jour les infomration d'un stgiaire def UpdateStagiairetoClass(diction): try: field_list = ['token', 'email', 'nom', 'prenom', 'telephone', 'modefinancement', 'opco', - 'status', 'class_internal_url', 'session_id', 'price', 'employeur'] + 'status', 'class_internal_url', 'session_id', 'price', 'employeur', 'comment'] incom_keys = diction.keys() for val in incom_keys: if val not in field_list: @@ -226,6 +226,9 @@ def UpdateStagiairetoClass(diction): mysession_id = diction['session_id'] query_key['session_id'] = diction['session_id'] + + + partner_recid = mycommon.get_parnter_recid_from_token(mytoken) if (partner_recid is False): mycommon.myprint(str(inspect.stack()[0][3]) + " - Impossible de mettre à jour le stagiaire ") @@ -276,8 +279,12 @@ def UpdateStagiairetoClass(diction): mydata['status'] = diction['status'] - print(" ### query_key = "+str(query_key)) - print(' ### mydata = '+str(mydata)) + if ("comment" in diction.keys()): + if diction['comment']: + mydata['comment'] = diction['comment'] + + #print(" ### query_key = "+str(query_key)) + #print(' ### mydata = '+str(mydata)) coll_inscription = MYSY_GV.dbname['inscription'] ret_val2 = coll_inscription.find_one_and_update(query_key, @@ -288,7 +295,9 @@ def UpdateStagiairetoClass(diction): if (ret_val2 and ret_val2['_id']): """ - Si le status == 1; alors il s'agit d'une validation d'une inscription. + - Si le status == 1; alors il s'agit d'une validation d'une inscription. + - Si le status == -1; alors il s'agit d'une refus d'une inscription. + Du coup, il faut envoyer le mail de confirmation de l'inscription: 1 - recuperation des infos de la session 1 BIS - recuperation du title @@ -299,6 +308,10 @@ def UpdateStagiairetoClass(diction): email_data['prenom'] = user_prenom email_data['email'] = myemail + if ("comment" in diction.keys()): + if diction['comment']: + email_data['comment'] = diction['comment'] + # ici recup du titre for local_tmp_myclass in MYSY_GV.dbname['myclass'].find( {'internal_url': str(myinternal_url)}): @@ -331,12 +344,19 @@ def UpdateStagiairetoClass(diction): local_adresse = local_tmp_session['adresse'] email_data['adresse'] = local_adresse + if ( diction['status'] == "1" ): + # Il s'agit d'envoyer le message de confirmation d'une inscription + local_status, local_message = email_session.incription_training_confirmation_mail(email_data) - local_status, local_message = email_session.incription_training_confirmation_mail(email_data) + elif ( diction['status'] == "-1" ): + # Il s'agit d'envoyer le message de refus d'une inscription + local_status, local_message = email_session.incription_training_refused_mail(email_data) mycommon.myprint(" Les données du stagiaire ont été correctement mise à jour") return True, "Les données du stagiaire ont été correctement mise à jour" + + else: mycommon.myprint(" Impossible de mettre à jour les données du stagiaire 1") return False, "Impossible de mettre à jour les données du stagiaire " diff --git a/Log/log_file.log b/Log/log_file.log index e74c297..e5da302 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -890875,3 +890875,1148 @@ INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 11:48:10] "POST /myclass/api/GetActiveS INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 11:48:10] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 11:48:10] "POST /myclass/api/get_class/ HTTP/1.1" 200 - INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 11:48:10] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2022-11-22 17:56:24.036963 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 17:56:24.037959 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 17:56:24.037959 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 17:56:24.037959 : ++ FLASK PORT 5001 ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2022-11-22 17:56:36.393252 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 17:56:36.394247 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 17:56:36.394247 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 17:56:36.394247 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2022-11-22 17:56:40.418946 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 17:56:40.420937 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:40] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:40] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2022-11-22 17:56:40.930215 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 17:56:40.935699 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:41] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 17:56:41.637262 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 17:56:41.637262 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 17:56:41.638257 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 17:56:41.639257 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 17:56:41.642257 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:41] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:41] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 17:56:41.647265 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:41] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:41] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:41] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:41] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 17:56:41.963398 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 17:56:41.965414 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 17:56:41.966419 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 17:56:41.968410 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 17:56:41.973399 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:41] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:41] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:41] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 17:56:41.982436 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:41] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:41] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:41] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 17:56:42.303861 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 17:56:42.305872 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 17:56:42.306869 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 17:56:42.307879 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:42] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 17:56:42.314870 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:42] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 17:56:42.320836 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:42] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 17:56:42.632777 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 17:56:42.634762 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 17:56:42] "POST /myclass/api/getRecodedClassImage_from_front/ 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 +INFO:root:2022-11-22 18:05:44.099250 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 18:05:44.099250 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 18:05:44.099250 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 18:05:44.099250 : ++ 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 +INFO:root:2022-11-22 18:13:39.804306 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 18:13:39.804306 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 18:13:39.804306 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 18:13:39.804306 : ++ 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 +INFO:root:2022-11-22 18:17:03.424705 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 18:17:03.425705 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 18:17:03.425705 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 18:17:03.425705 : ++ 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 +INFO:root:2022-11-22 18:17:42.748697 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 18:17:42.748697 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 18:17:42.748697 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 18:17:42.748697 : ++ 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 +INFO:root:2022-11-22 18:22:08.666867 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 18:22:08.667401 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 18:22:08.667401 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 18:22:08.667401 : ++ 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 +INFO:root:2022-11-22 18:33:34.467085 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 18:33:34.467085 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 18:33:34.467085 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 18:33:34.467085 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2022-11-22 18:33:37.607518 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:33:37.609517 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:33:37] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:33:37] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:33:46.927080 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:33:47.853986 : partner_login Connexion partnair billardman1@gmail.com : OK, Date : 2022-11-22 18:33:46.928085 , _id = 61e538fab80f67195de32dd2 +INFO:root:2022-11-22 18:33:47.859981 : partner_login Connexion partener_token : OK , _id = 6218ac277a813b77409aa7f6 +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:33:47] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:33:48.049977 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:33:48.053971 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:33:48.056973 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:33:48] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:33:48.066967 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:33:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:33:48] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:33:48.294968 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:33:48] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:33:58.170031 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:33:58.173029 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:33:58.178032 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:33: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_MZplrIZfdYw75Y/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6C0TAbmaEugrFTvL0xZ8qm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944897,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BxLAbmaEugrFT5pjLRnFF",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944703,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BvKAbmaEugrFTe0bEkiZG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944578,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BtqAbmaEugrFTNFAoVSyT",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944487,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_OmLqPyi6WsQE28 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:33:58] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:34:08.774312 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:34:08.778313 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:34:08.784314 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:34:08.788313 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:34:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:34:08] "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_MZplrIZfdYw75Y/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6C0TAbmaEugrFTvL0xZ8qm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944897,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BxLAbmaEugrFT5pjLRnFF",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944703,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BvKAbmaEugrFTe0bEkiZG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944578,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BtqAbmaEugrFTNFAoVSyT",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944487,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_7rbCe9jmWSZsNJ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:34:09] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:34:09.297587 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:34:09.304593 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:34:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:34:09.312598 : 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_MZplrIZfdYw75Y&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_1M70MJAbmaEugrFT9z3fthrj",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1669138451,\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": 1669138451,\n "currency": "eur",\n "current_period_end": 1671730451,\n "current_period_start": 1669138451,\n "customer": "cus_MZplrIZfdYw75Y",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_MqhlXijFpiA8Ez",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1669138451,\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_1M70MJAbmaEugrFT9z3fthrj",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1M70MJAbmaEugrFT9z3fthrj"\n },\n "latest_invoice": {\n "id": "in_1M70MJAbmaEugrFTqNCUJmAv",\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": 1669138451,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MZplrIZfdYw75Y",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "billardman1@gmail.com",\n "customer_name": "MySy Test",\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_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9NcWhscjBOdUtac1NybzBNb1h4d0Y1czYwa1haT3ZoLDU5Njc5MjUy02008mHBfOAE?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9NcWhscjBOdUtac1NybzBNb1h4d0Y1czYwa1haT3ZoLDU5Njc5MjUy02008mHBfOAE/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1M70MJAbmaEugrFTY2cqgZxe",\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": 1671730451,\n "start": 1669138451\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_1M70MJAbmaEugrFT9z3fthrj",\n "subscription_item": "si_MqhlXijFpiA8Ez",\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_1M70MJAbmaEugrFTqNCUJmAv/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0234",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3M70MJAbmaEugrFT1QOTBItM",\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_3M70MJAbmaEugrFT1QOTBItM"\n },\n "client_secret": "pi_3M70MJAbmaEugrFT1QOTBItM_secret_dv5fBzNkvJ3fLZm1fUhloO0Ey",\n "confirmation_method": "automatic",\n "created": 1669138451,\n "currency": "eur",\n "customer": "cus_MZplrIZfdYw75Y",\n "description": "Subscription creation",\n "invoice": "in_1M70MJAbmaEugrFTqNCUJmAv",\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": 1669138451,\n "period_start": 1669138451,\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": 1669138451,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1M70MJAbmaEugrFT9z3fthrj",\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": 1669138451\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": 1669138451,\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_p0RAKnPd1kG7pg message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:34:10] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:34:11.443940 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:34:11.455985 : createOrder -cannot access local variable 'total_ht' where it is not associated with a value - ERRORRRR AT Line : 558 +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:34:11] "POST /myclass/api/createOrder/ HTTP/1.1" 500 - +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 +INFO:root:2022-11-22 18:36:43.305347 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 18:36:43.305347 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 18:36:43.305347 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 18:36:43.306353 : ++ 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 +INFO:root:2022-11-22 18:37:01.101757 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 18:37:01.101757 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 18:37:01.101757 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 18:37:01.101757 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2022-11-22 18:37:01.421873 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:37:01.428877 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:37:01] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:37:05.945436 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:37:12.575763 : UpdataPartnerRankingClass - Le RANKING de 176 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2022-11-22 18:37:11.755605', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:37:12] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:37:18.491012 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:37:18.493008 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:37:18.497028 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:37: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_MZplrIZfdYw75Y/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6C0TAbmaEugrFTvL0xZ8qm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944897,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BxLAbmaEugrFT5pjLRnFF",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944703,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BvKAbmaEugrFTe0bEkiZG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944578,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BtqAbmaEugrFTNFAoVSyT",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944487,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_FVBoSkBFosqI2o message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:37:18] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:38:13.554456 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:38:13.557453 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:38:13.560467 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:38:13] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:38:13.565454 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:38:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:38:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:38:14.138778 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:38:14] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:38:20.025156 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:38:20.028170 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:38:20.032180 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:38:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6C0TAbmaEugrFTvL0xZ8qm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944897,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BxLAbmaEugrFT5pjLRnFF",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944703,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BvKAbmaEugrFTe0bEkiZG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944578,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BtqAbmaEugrFTNFAoVSyT",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944487,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_AEMrdcoAR7FZyy message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:38:21] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:38:29.031998 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:38:29.035999 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:38:29.039002 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:38:29.044015 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:38:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:38:29] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6C0TAbmaEugrFTvL0xZ8qm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944897,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BxLAbmaEugrFT5pjLRnFF",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944703,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BvKAbmaEugrFTe0bEkiZG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944578,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BtqAbmaEugrFTNFAoVSyT",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944487,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_W7mzx6hYqlO1xJ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:38:30] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:38:30.087511 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:38:30.094057 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:38:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:38:30.205232 : 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_MZplrIZfdYw75Y&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_1M70QWAbmaEugrFTw09Dy1g7",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1669138712,\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": 1669138712,\n "currency": "eur",\n "current_period_end": 1671730712,\n "current_period_start": 1669138712,\n "customer": "cus_MZplrIZfdYw75Y",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_MqhqXStiKIreHg",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1669138713,\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_1M70QWAbmaEugrFTw09Dy1g7",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1M70QWAbmaEugrFTw09Dy1g7"\n },\n "latest_invoice": {\n "id": "in_1M70QWAbmaEugrFTXyQCtOpt",\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": 1669138712,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MZplrIZfdYw75Y",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "billardman1@gmail.com",\n "customer_name": "MySy Test",\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_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9NcWhxUG1jVHQwT3NlcnFObEkyYjRjaTR2ZHQ2bzBOLDU5Njc5NTEz0200AbcQCtSM?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9NcWhxUG1jVHQwT3NlcnFObEkyYjRjaTR2ZHQ2bzBOLDU5Njc5NTEz0200AbcQCtSM/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1M70QWAbmaEugrFTcWB2osTL",\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": 1671730712,\n "start": 1669138712\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_1M70QWAbmaEugrFTw09Dy1g7",\n "subscription_item": "si_MqhqXStiKIreHg",\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_1M70QWAbmaEugrFTXyQCtOpt/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0235",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3M70QXAbmaEugrFT0f4uVbC6",\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_3M70QXAbmaEugrFT0f4uVbC6"\n },\n "client_secret": "pi_3M70QXAbmaEugrFT0f4uVbC6_secret_nxewdbI3YNgYQEsoyZmGn9tmW",\n "confirmation_method": "automatic",\n "created": 1669138713,\n "currency": "eur",\n "customer": "cus_MZplrIZfdYw75Y",\n "description": "Subscription creation",\n "invoice": "in_1M70QWAbmaEugrFTXyQCtOpt",\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": 1669138712,\n "period_start": 1669138712,\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": 1669138712,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1M70QWAbmaEugrFTw09Dy1g7",\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": 1669138712\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": 1669138712,\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_YPF5bTHcBYsh37 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:38:32] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:38:57.093235 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:38:57.099231 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:38:57] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:39:17.726471 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:39:17.728979 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:39:17] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:39:17.733002 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:39:17.736006 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:39:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:39:17] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:39:18.245035 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:39:18] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:39:20.358060 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:39:20.361622 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:39:20.365648 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:39:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6C0TAbmaEugrFTvL0xZ8qm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944897,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BxLAbmaEugrFT5pjLRnFF",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944703,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BvKAbmaEugrFTe0bEkiZG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944578,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BtqAbmaEugrFTNFAoVSyT",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944487,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_9RgxH4gf6jLFJp message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:39:20] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:39:24.476424 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:39:24.481440 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:39:24.484986 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:39:24.488998 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:39:24] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:39:24] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6C0TAbmaEugrFTvL0xZ8qm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944897,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BxLAbmaEugrFT5pjLRnFF",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944703,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BvKAbmaEugrFTe0bEkiZG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944578,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BtqAbmaEugrFTNFAoVSyT",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944487,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_VQigXYd4m1oI15 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:39:25] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:39:25.183294 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:39:25.189816 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:39:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:39:25.244217 : 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_MZplrIZfdYw75Y&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_1M70RPAbmaEugrFTaMIjrV12",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1669138767,\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": 1669138767,\n "currency": "eur",\n "current_period_end": 1671730767,\n "current_period_start": 1669138767,\n "customer": "cus_MZplrIZfdYw75Y",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_MqhroopIgSQ9g4",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1669138768,\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_1M70RPAbmaEugrFTaMIjrV12",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1M70RPAbmaEugrFTaMIjrV12"\n },\n "latest_invoice": {\n "id": "in_1M70RPAbmaEugrFTlKnSqNVX",\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": 1669138767,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MZplrIZfdYw75Y",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "billardman1@gmail.com",\n "customer_name": "MySy Test",\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_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9NcWhyOWxvbXpRbW8zVGdXSkNqdFNDcllpRDlKdWpWLDU5Njc5NTY40200XD8idB9a?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9NcWhyOWxvbXpRbW8zVGdXSkNqdFNDcllpRDlKdWpWLDU5Njc5NTY40200XD8idB9a/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1M70RPAbmaEugrFTOMIiQDU5",\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": 1671730767,\n "start": 1669138767\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_1M70RPAbmaEugrFTaMIjrV12",\n "subscription_item": "si_MqhroopIgSQ9g4",\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_1M70RPAbmaEugrFTlKnSqNVX/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0236",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3M70RQAbmaEugrFT02dvmPqi",\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_3M70RQAbmaEugrFT02dvmPqi"\n },\n "client_secret": "pi_3M70RQAbmaEugrFT02dvmPqi_secret_Y3v6Kw5pMldns79mtzdh7RfUG",\n "confirmation_method": "automatic",\n "created": 1669138768,\n "currency": "eur",\n "customer": "cus_MZplrIZfdYw75Y",\n "description": "Subscription creation",\n "invoice": "in_1M70RPAbmaEugrFTlKnSqNVX",\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": 1669138767,\n "period_start": 1669138767,\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": 1669138767,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1M70RPAbmaEugrFTaMIjrV12",\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": 1669138767\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": 1669138767,\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_sLNuqBNOasDgW8 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:39:27] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:39:35.209746 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:39:35.249415 : SalesOrderConfirmationEmail - La valeur 'invoice_adr_zip' n'est pas presente dans liste +INFO:root:2022-11-22 18:39:35.253433 : createOrderImpossible de créer la commande Impossible d'envoyer l'email de confirmation +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:39:35] "POST /myclass/api/createOrder/ 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 +INFO:root:2022-11-22 18:45:04.225666 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 18:45:04.225666 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 18:45:04.225666 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 18:45:04.225666 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2022-11-22 18:45:21.141097 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:45:21.144099 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:45:21.147100 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:45:21] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:45:21.158151 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:45:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:45:21] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:45:21.772187 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:45:21] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:45:32.488156 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:45:32.491144 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:45:32.496158 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:45: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_MZplrIZfdYw75Y/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6C0TAbmaEugrFTvL0xZ8qm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944897,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BxLAbmaEugrFT5pjLRnFF",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944703,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BvKAbmaEugrFTe0bEkiZG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944578,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BtqAbmaEugrFTNFAoVSyT",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944487,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_hZacAwJJMeq12D message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:45:34] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:45:37.140993 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:45:37.144995 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:45:37.150119 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:45:37] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:45:37.153313 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:45:37] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6C0TAbmaEugrFTvL0xZ8qm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944897,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BxLAbmaEugrFT5pjLRnFF",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944703,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BvKAbmaEugrFTe0bEkiZG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944578,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BtqAbmaEugrFTNFAoVSyT",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944487,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_gkD5M3MRRNgr8X message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:45:38] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:45:38.285874 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:45:38.291878 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:45:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:45:38.298869 : 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_MZplrIZfdYw75Y&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_1M70XQAbmaEugrFTlQUHWZJD",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1669139140,\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": 1669139140,\n "currency": "eur",\n "current_period_end": 1671731140,\n "current_period_start": 1669139140,\n "customer": "cus_MZplrIZfdYw75Y",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_MqhxjBc1uRJNy6",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1669139141,\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_1M70XQAbmaEugrFTlQUHWZJD",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1M70XQAbmaEugrFTlQUHWZJD"\n },\n "latest_invoice": {\n "id": "in_1M70XQAbmaEugrFTcsmvBl3x",\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": 1669139140,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MZplrIZfdYw75Y",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "billardman1@gmail.com",\n "customer_name": "MySy Test",\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_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9NcWh4bjllRlpoSndHSjYwUnlOT2l3dTdLNEdFSG5OLDU5Njc5OTQx0200sznr94lD?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9NcWh4bjllRlpoSndHSjYwUnlOT2l3dTdLNEdFSG5OLDU5Njc5OTQx0200sznr94lD/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1M70XQAbmaEugrFTECAl5MeA",\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": 1671731140,\n "start": 1669139140\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_1M70XQAbmaEugrFTlQUHWZJD",\n "subscription_item": "si_MqhxjBc1uRJNy6",\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_1M70XQAbmaEugrFTcsmvBl3x/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0237",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3M70XRAbmaEugrFT12Uf3Qq8",\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_3M70XRAbmaEugrFT12Uf3Qq8"\n },\n "client_secret": "pi_3M70XRAbmaEugrFT12Uf3Qq8_secret_fFVjZ5gY9juxgJdzsEAUOllNw",\n "confirmation_method": "automatic",\n "created": 1669139141,\n "currency": "eur",\n "customer": "cus_MZplrIZfdYw75Y",\n "description": "Subscription creation",\n "invoice": "in_1M70XQAbmaEugrFTcsmvBl3x",\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": 1669139140,\n "period_start": 1669139140,\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": 1669139140,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1M70XQAbmaEugrFTlQUHWZJD",\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": 1669139140\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": 1669139140,\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_WDiIBK7Y8vUSqa message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:45:40] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +INFO:root:2022-11-22 18:45:41.462038 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 18:45:42.356785 : createOrderImpossible de créer la commande Impossible de créer la commande +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 18:45:42] "POST /myclass/api/createOrder/ 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 +INFO:root:2022-11-22 18:49:34.478801 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 18:49:34.478801 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 18:49:34.478801 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 18:49:34.478801 : ++ 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 +INFO:root:2022-11-22 19:29:57.578181 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 19:29:57.578181 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 19:29:57.578181 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 19:29:57.578181 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2022-11-22 19:30:19.411597 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:30:19.415592 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:30:19.419593 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:30:19] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:30:19.431594 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:30:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:30:19] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:30:20.276353 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:30:20] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:30:22.934137 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:30:22.938126 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:30:22.943139 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:30:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6C0TAbmaEugrFTvL0xZ8qm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944897,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BxLAbmaEugrFT5pjLRnFF",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944703,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BvKAbmaEugrFTe0bEkiZG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944578,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BtqAbmaEugrFTNFAoVSyT",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944487,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_e3X8NqifNkdBn9 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:30:24] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:30:28.130933 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:30:28.135916 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:30:28.138924 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:30:28.145913 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:30:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:30:28] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6C0TAbmaEugrFTvL0xZ8qm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944897,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BxLAbmaEugrFT5pjLRnFF",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944703,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BvKAbmaEugrFTe0bEkiZG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944578,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BtqAbmaEugrFTNFAoVSyT",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944487,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_vsMhoQfc9x5rSy message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:30:28] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:30:29.044978 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:30:29.049973 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:30:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:30:29.058972 : 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_MZplrIZfdYw75Y&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_1M71EpAbmaEugrFTcJJHp3By",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1669141831,\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": 1669141831,\n "currency": "eur",\n "current_period_end": 1671733831,\n "current_period_start": 1669141831,\n "customer": "cus_MZplrIZfdYw75Y",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_Mqig1YrJdX4wTY",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1669141832,\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_1M71EpAbmaEugrFTcJJHp3By",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1M71EpAbmaEugrFTcJJHp3By"\n },\n "latest_invoice": {\n "id": "in_1M71EpAbmaEugrFTQuTCmQSV",\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": 1669141831,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MZplrIZfdYw75Y",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "billardman1@gmail.com",\n "customer_name": "MySy Test",\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_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9NcWlnMWtmUU1ZS05MTmR1VW9QZGpoaG5QRXJBME5PLDU5NjgyNjMy0200PQyoVZbq?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9NcWlnMWtmUU1ZS05MTmR1VW9QZGpoaG5QRXJBME5PLDU5NjgyNjMy0200PQyoVZbq/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1M71EpAbmaEugrFThMPTJN1w",\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": 1671733831,\n "start": 1669141831\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_1M71EpAbmaEugrFTcJJHp3By",\n "subscription_item": "si_Mqig1YrJdX4wTY",\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_1M71EpAbmaEugrFTQuTCmQSV/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0238",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3M71EqAbmaEugrFT0185WQx3",\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_3M71EqAbmaEugrFT0185WQx3"\n },\n "client_secret": "pi_3M71EqAbmaEugrFT0185WQx3_secret_Jfd4u4Z5FTGeFTHjRkYRNcHbE",\n "confirmation_method": "automatic",\n "created": 1669141832,\n "currency": "eur",\n "customer": "cus_MZplrIZfdYw75Y",\n "description": "Subscription creation",\n "invoice": "in_1M71EpAbmaEugrFTQuTCmQSV",\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": 1669141831,\n "period_start": 1669141831,\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": 1669141831,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1M71EpAbmaEugrFTcJJHp3By",\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": 1669141831\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": 1669141831,\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_ifKwLVVKpLiK1n message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:30:31] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:30:34.848887 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:30:40.064804 : UpdataPartnerRankingClass - Le RANKING de 176 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2022-11-22 19:30:39.100636', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:30:40] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:35:16.083911 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:35:16.088942 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:35:16.094943 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:35:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6C0TAbmaEugrFTvL0xZ8qm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944897,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BxLAbmaEugrFT5pjLRnFF",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944703,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BvKAbmaEugrFTe0bEkiZG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944578,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BtqAbmaEugrFTNFAoVSyT",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944487,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_olNTH4cQcU650N message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:35:17] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:35:21.526353 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:35:21.529866 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:35:21.532889 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:35:21.538437 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:35:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:35:21] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6C0TAbmaEugrFTvL0xZ8qm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944897,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BxLAbmaEugrFT5pjLRnFF",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944703,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BvKAbmaEugrFTe0bEkiZG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944578,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BtqAbmaEugrFTNFAoVSyT",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944487,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_w1jF1Pwe8IYD35 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:35:22] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:35:22.224457 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:35:22.231471 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:35:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:35:22.239482 : 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_MZplrIZfdYw75Y&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_1M71JYAbmaEugrFT0IxUioJf",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1669142124,\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": 1669142124,\n "currency": "eur",\n "current_period_end": 1671734124,\n "current_period_start": 1669142124,\n "customer": "cus_MZplrIZfdYw75Y",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_MqilovT3568OgT",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1669142124,\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_1M71JYAbmaEugrFT0IxUioJf",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1M71JYAbmaEugrFT0IxUioJf"\n },\n "latest_invoice": {\n "id": "in_1M71JYAbmaEugrFTT6H0nUM9",\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": 1669142124,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MZplrIZfdYw75Y",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "billardman1@gmail.com",\n "customer_name": "MySy Test",\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_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9NcWlsNmJJN3pJOXJYaWIxTEowYUxqTEJidXlVY0ZFLDU5NjgyOTI10200o0iEu31y?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9NcWlsNmJJN3pJOXJYaWIxTEowYUxqTEJidXlVY0ZFLDU5NjgyOTI10200o0iEu31y/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1M71JYAbmaEugrFT2jVSpAeT",\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": 1671734124,\n "start": 1669142124\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_1M71JYAbmaEugrFT0IxUioJf",\n "subscription_item": "si_MqilovT3568OgT",\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_1M71JYAbmaEugrFTT6H0nUM9/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0239",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3M71JYAbmaEugrFT0a9dHKzB",\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_3M71JYAbmaEugrFT0a9dHKzB"\n },\n "client_secret": "pi_3M71JYAbmaEugrFT0a9dHKzB_secret_BNtL9FzLaNSKMSk7avwjvrT9Y",\n "confirmation_method": "automatic",\n "created": 1669142124,\n "currency": "eur",\n "customer": "cus_MZplrIZfdYw75Y",\n "description": "Subscription creation",\n "invoice": "in_1M71JYAbmaEugrFTT6H0nUM9",\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": 1669142124,\n "period_start": 1669142124,\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": 1669142124,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1M71JYAbmaEugrFT0IxUioJf",\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": 1669142124\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": 1669142124,\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_IoQeIPgNbjfhJP message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:35:23] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:36:29.188884 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:36:29.192899 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:36:29.196881 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:36:29] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:36:29.201890 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:36:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:36:29] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:36:29.844872 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:36:29] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:36:32.603405 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:36:32.606397 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:36:32.612397 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:36: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_MZplrIZfdYw75Y/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6C0TAbmaEugrFTvL0xZ8qm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944897,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BxLAbmaEugrFT5pjLRnFF",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944703,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BvKAbmaEugrFTe0bEkiZG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944578,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BtqAbmaEugrFTNFAoVSyT",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944487,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_0zlH99Zs7fXhMj message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:36:33] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:36:36.797106 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:36:36.801106 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:36:36.806108 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:36:36.810104 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:36:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:36:36] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6C0TAbmaEugrFTvL0xZ8qm",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944897,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BxLAbmaEugrFT5pjLRnFF",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944703,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BvKAbmaEugrFTe0bEkiZG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944578,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6BtqAbmaEugrFTNFAoVSyT",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": null,\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668944487,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_OR54x84OGsu8Q2 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:36:38] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:36:38.468379 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:36:38.473388 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:36:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:36:38.480915 : 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_MZplrIZfdYw75Y&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_1M71KmAbmaEugrFTGaAnWE1v",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1669142200,\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": 1669142200,\n "currency": "eur",\n "current_period_end": 1671734200,\n "current_period_start": 1669142200,\n "customer": "cus_MZplrIZfdYw75Y",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_Mqimts7Var7ka1",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1669142201,\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_1M71KmAbmaEugrFTGaAnWE1v",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1M71KmAbmaEugrFTGaAnWE1v"\n },\n "latest_invoice": {\n "id": "in_1M71KmAbmaEugrFTGcykgMgt",\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": 1669142200,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_MZplrIZfdYw75Y",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "billardman1@gmail.com",\n "customer_name": "MySy Test",\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_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9NcWltbVBIY1FqUnRzcVNWeWNWa2ZvYkV3UzlrYTlNLDU5NjgzMDAx0200PqPtk8mr?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9NcWltbVBIY1FqUnRzcVNWeWNWa2ZvYkV3UzlrYTlNLDU5NjgzMDAx0200PqPtk8mr/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1M71KmAbmaEugrFTJksgH6IT",\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": 1671734200,\n "start": 1669142200\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_1M71KmAbmaEugrFTGaAnWE1v",\n "subscription_item": "si_Mqimts7Var7ka1",\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_1M71KmAbmaEugrFTGcykgMgt/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0240",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3M71KnAbmaEugrFT05bwDtx4",\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_3M71KnAbmaEugrFT05bwDtx4"\n },\n "client_secret": "pi_3M71KnAbmaEugrFT05bwDtx4_secret_CbklEm2FuBlzPVNkfDKb8butS",\n "confirmation_method": "automatic",\n "created": 1669142201,\n "currency": "eur",\n "customer": "cus_MZplrIZfdYw75Y",\n "description": "Subscription creation",\n "invoice": "in_1M71KmAbmaEugrFTGcykgMgt",\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": 1669142200,\n "period_start": 1669142200,\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": 1669142200,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1M71KmAbmaEugrFTGaAnWE1v",\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": 1669142200\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": 1669142200,\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_lZo0oBHPnOD7dN message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:36:40] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:36:40.723002 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:36:42.944517 : UpdataPartnerRankingClass - Le RANKING de 176 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2022-11-22 19:36:42.930485', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:36:42] "POST /myclass/api/createOrder/ 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 +INFO:root:2022-11-22 19:37:14.671503 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 19:37:14.672505 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 19:37:14.672505 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 19:37:14.672505 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2022-11-22 19:37:35.718125 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:37:35.720126 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:37:35.723124 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:37:35] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:37:35.732128 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:37:35] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:37:35] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:37:36.215605 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:37:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:37:57.504615 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:37:58.465542 : add_class_mass - Vous avez atteint le nombre maximum de formation autorisé +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:37:58] "POST /myclass/api/add_class_mass/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:39:05.674831 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:39:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:39:05.806844 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:39:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:39:09.904647 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:39:09.907668 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:39:09] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:39:09] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:39:38.027402 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:39:38.041431 : update_class - La formation a bin ete mise à jour =61f10781c689ebcc85ffe36f +INFO:root:2022-11-22 19:39:38.048440 : external_code = VP14120 ==> L'essentiel d'After Effects +INFO:root:2022-11-22 19:39:38.748766 : La formation indexée (champ title) =61f10781c689ebcc85ffe36f +INFO:root:2022-11-22 19:39:38.749781 : 1 ont été indexes => title +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:39:38] "POST /myclass/api/update_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:41:22.894355 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:22.896356 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:23] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:23] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:41:23.386012 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:23.388022 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:23] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:41:24.057262 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:24.057262 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:24.059263 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:24.060265 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:24.061265 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:24.061265 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:41:24.385447 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:24.385968 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:24.386996 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:24.387986 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:24.387986 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:24.393505 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:41:24.713994 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:24.713994 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:24.715012 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:24.716000 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:24.717999 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:41:24.722001 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:24] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:41:25.050144 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:25.051671 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:41:28.645108 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:28.646109 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:28] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:28] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:41:28.656149 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:41:28.657667 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:28] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:41:28] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2022-11-22 19:45:56.887463 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 19:45:56.890146 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:45:56] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 19:45:56] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:01:30.247212 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:01:30] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:02:54.290541 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:02:54] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:02:56.256629 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:02:56.259631 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:02:56] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:02:56] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:01.425046 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:01] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:08.090424 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:08.095418 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:08.099426 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:08] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:08] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:08.106433 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:08] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:08] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:15.285064 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:15] "POST /myclass/api/Add_Update_SessionFormation/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:18.989660 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:18.993661 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:18] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:18.998687 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:19] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:19.005678 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:19] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:19] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:25.773416 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:25] "POST /myclass/api/Add_Update_SessionFormation/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:35.694552 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:35.695551 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:35] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:35] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:35.983283 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:35.984792 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:36] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:36.726158 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:36.727168 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:36.728167 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:36.728167 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:36.730157 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:36] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:36.735167 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:36] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:36] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:37.049672 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:37.050666 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:37.051669 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:37.052668 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:37.056684 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:37.063663 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:37.377070 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:37.378599 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:37.383622 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:37.386147 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:37.391177 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:37.396179 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:37.705519 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:37.708516 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:43.369838 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:43] "POST /myclass/api/Add_Update_SessionFormation/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:46.961857 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:46.967918 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:46] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:46.971936 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:46.979516 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:46] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:46] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:46] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:50.831971 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:50] "POST /myclass/api/Add_Update_SessionFormation/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:57.927267 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:57.928263 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:58] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:58] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:58.735261 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:58.736267 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:58] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:59.413196 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:59.414192 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:59.415177 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:59.416212 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:59.417254 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:59.419279 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:59] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:59] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:59] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:59] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:59] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:59] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:59.740393 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:59.741392 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:59.742390 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:03:59.744378 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:59] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:59.748400 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:59] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:59] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:03:59.754390 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:59] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:59] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:03:59] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:04:00.064064 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:04:00.066151 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:04:00] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:04:00.071217 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:04:00] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:04:00.076234 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:04:00] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:04:00.080219 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:04:00.083227 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:04:00] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:04:00] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:04:00] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:04:00.377710 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:04:00] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:04:00.384697 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:04:00] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:05:15.916405 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:05:15.917404 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:05:15.918403 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:05:15.919403 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:05:15.920414 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:05:15.924414 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:15] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:15] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:15] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:15] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:15] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:15] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:05:16.242727 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:05:16.243724 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:05:16.244724 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:05:16.245728 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:05:16.247722 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:16] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:05:16.254268 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:16] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:16] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:05:16.584104 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:05:16.586114 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:05:16.586114 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:05:16.588115 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:05:16.590118 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:16] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:05:16.596123 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:16] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:16] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:05:16.911543 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:05:16.914547 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:16] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:05:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:10:44.604543 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:10:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:12:03.689840 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:12:03] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:12:09.719857 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:12:09.723859 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:12:09.726860 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:12:09] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:12:09] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:12:09.734896 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:12:09] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:12:09] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:14:05.724590 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:14:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:14:35.994514 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:14:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2022-11-22 20:24:23.912214 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 20:24:23.912214 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 20:24:23.912214 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 20:24:23.912214 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2022-11-22 20:26:05.420026 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 20:26:05.421026 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 20:26:05.421026 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 20:26:05.421026 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2022-11-22 20:32:26.107145 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:32:26] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:32:49.258412 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:32:49] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:32:55.936733 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:32:55.940895 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:32:55] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:32:55.945917 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:32:55.950911 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:32:55] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:32:55] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:32:55] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:35:54.621469 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:35:54] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:36:04.837098 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:36:04] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:36:12.379619 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:36:12.384186 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:36:12.388181 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:36:12] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:36:12] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:36:12.396196 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:36:12] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:36:12] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:38:23.397846 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:38:23] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:38:25.807478 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:38:25] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:39:14.361856 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:39:14.365505 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:39:14.369130 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:39:14] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:39:14.375680 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:39:14] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:39:14] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:39:14] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:39:39.786751 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:39:39] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:39:56.733498 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:39:56] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:40:00.246229 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:40:00] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:40:17.108789 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:40:17.113995 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:40:17.117005 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:40:17] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:40:17.123996 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:40:17] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:40:17] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:40:17] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:45:28.115393 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:45:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:45:33.567295 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:45:33] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:45:37.830820 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:45:37.834834 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:45:37.836828 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:45:37] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:45:37.845829 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:45:37] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:45:37] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:45:37] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:49:38.691777 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:49:38] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:49:41.998182 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:49:42] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:49:45.856269 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:49:45.858414 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 20:49:45.861550 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:49:45] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:49:45.865552 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:49:45] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:49:45] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:49:45] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:50:55.334827 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:50:55] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 20:52:42.207500 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 20:52:42] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2022-11-22 21:04:09.073919 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 21:04:09.074943 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 21:04:09.074943 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 21:04:09.074943 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2022-11-22 21:05:12.051989 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 21:05:12.051989 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 21:05:12.051989 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 21:05:12.051989 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2022-11-22 21:11:58.171399 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:11:58] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:12:16.312579 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:12:16.315589 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:12:16.317598 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:12:16] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:12:16.322604 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:12:16] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:12:16] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:12:16] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:12:40.290372 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:12:42.981212 : Les données du stagiaire ont été correctement mise à jour +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:12:42] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:12:43.350994 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:12:43.353586 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:12:43] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:12:43] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2022-11-22 21:14:43.690815 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 21:14:43.691828 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 21:14:43.691828 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 21:14:43.691828 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2022-11-22 21:15:41.786085 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:15:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:15:46.527528 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:15:46.529640 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:15:46.533781 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:15:46] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:15:46.537785 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:15:46] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:15:46] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:15:46] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:16:07.609418 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:16:08.291452 : Les données du stagiaire ont été correctement mise à jour +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:16:08] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:16:08.634655 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:16:08.636731 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:16:08] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:16:08] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2022-11-22 21:18:15.705431 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 21:18:15.706431 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 21:18:15.706431 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 21:18:15.706431 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2022-11-22 21:19:40.761808 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:19:40] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:19:45.966952 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:19:45.970480 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:19:45.973013 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:19:45] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:19:45.976004 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:19:45] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:19:45] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:19:45] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:20:15.603056 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:20:15] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:20:19.495001 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:20:19.498036 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:20:19.499045 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:20:19] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:20:19.504728 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:20:19] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:20:19] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:20:19] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:20:49.677606 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:20:49] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:20:55.368562 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:20:55.371843 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:20:55.375065 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:20:55] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:20:55.379065 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:20:55] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:20:55] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:20:55] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:21:22.041040 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:21:22.822891 : Les données du stagiaire ont été correctement mise à jour +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:21:22] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2022-11-22 21:21:23.162972 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 21:21:23.165989 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:21:23] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 21:21:23] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2022-11-22 21:34:10.139322 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 21:34:10.139322 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 21:34:10.139322 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 21:34:10.139322 : ++ 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\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2022-11-22 21:37:16.322751 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 21:37:16.322751 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 21:37:16.322751 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 21:37:16.322751 : ++ 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\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2022-11-22 21:38:06.955249 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 21:38:06.956260 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 21:38:06.956260 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 21:38:06.956260 : ++ 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\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2022-11-22 22:05:57.188722 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 22:05:57.188722 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 22:05:57.188722 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 22:05:57.188722 : ++ FLASK PORT 5001 ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2022-11-22 22:06:04.928254 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 22:06:04.928254 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 22:06:04.929251 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 22:06:04.929251 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2022-11-22 22:06:37.180789 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:37.181781 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:37] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:37] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:06:37.441737 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:37.442736 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:37] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:06:37.660969 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:06:37.971921 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:37.972925 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:37.973925 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:37.973925 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:37.976923 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:37.978924 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:06:38.305983 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:38.305983 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:38.306981 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:38.307996 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:38.308981 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:38.309986 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:38] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:38] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:38] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:06:38.633647 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:38.634649 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:38.635654 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:38.636648 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:38.638649 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:38] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:06:38.643644 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:38] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:38] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:06:38.961944 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:06:40.531876 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:40.532883 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:06:40.536881 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:06:40.539879 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:40] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:40] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:06:40] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:07:38.524226 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:07:41] "POST /myclass/api/RenseignementClass/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2022-11-22 22:10:25.798473 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2022-11-22 22:10:25.799473 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2022-11-22 22:10:25.799473 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2022-11-22 22:10:25.799473 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2022-11-22 22:14:59.018638 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:14:59.019638 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:14:59] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:14:59] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:15:09.835579 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:15:09] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:15:10.142299 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:15:10.143312 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:15:10.148299 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:15:10] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:15:10] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:15:10] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:15:53.352508 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:15:53] "POST /myclass/api/RenseignementClass/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:17:23.329926 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:17:23.330927 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:17:23] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:17:23] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:18:35.876460 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:18:35.879469 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:18:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:18:35] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:18:39.410403 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:18:39] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:18:39.715284 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:18:39] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:18:39.725820 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:18:39.728819 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:18:39] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:18:39] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:19:09.949957 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:19:09.950948 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:19:09] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:19:09.956947 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:19:09.957949 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:19:09] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:19:09] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:19:09] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:19:29.198464 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:19:29] "POST /myclass/api/RenseignementClass/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:25:40.878186 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:25:40.880203 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:25:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:25:40] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:25:45.776057 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:25:45] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:25:46.088660 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:25:46.088660 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:25:46.090670 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:25:46] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:25:46] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:25:46] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:26:37.916077 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:26:37.916077 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:26:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:26:37] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:27:09.320509 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:27:09] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:27:09.629551 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:27:09] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:27:13.388052 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:27:13.389056 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:27:13.391066 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:27:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:27:13.396048 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:27:13] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:27:13] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:27:13] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:27:30.990060 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:27:31] "POST /myclass/api/RenseignementClass/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:27:46.121114 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:27:46.122107 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:27:46.123107 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:27:46.125111 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:27:46] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:27:46] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:27:46] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:27:46] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:28:06.197307 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:28:06] "POST /myclass/api/RenseignementClass/ HTTP/1.1" 200 - +INFO:root:2022-11-22 22:28:12.202026 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:28:12.203027 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:28:12.206024 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2022-11-22 22:28:12.208539 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:28:12] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:28:12] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:28:12] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Nov/2022 22:28:12] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - diff --git a/Template/MySy_Demande_Info_Class_tpl.html b/Template/MySy_Demande_Info_Class_tpl.html index 8cfbc9c..ae731be 100644 --- a/Template/MySy_Demande_Info_Class_tpl.html +++ b/Template/MySy_Demande_Info_Class_tpl.html @@ -1,139 +1,173 @@ + - + MySy Pro Account actif - - - - - - - - - + + +
- - - - - - - - - - - + + +
- - - - - - -
Mysy Training Logo
-
- - - - - - - -
- -
-
-
-

Demande d'information pour la formation {{params.class_internal_url}}

-

Bonjour

- -

-

- -L'utliisateur :
-

    -
  • Nom & Prenom : {{params.nom}}   {{params.prenom}}
  • -
  • Email : {{params.email}}
  • -
  • Telephone : {{params.telephone}}
  • -
  • Employeur : {{params.employeur}}
  • -
  • Message : {{params.message}}
  • -
-

- - -

- - Souhaite s'informer sur la formation {{params.title}} .

- - -

- Cordialement
- MySy Training Technology
- Contact : +337 69 20 39 45
- Emali : contact@mysy-training.com
-

-
-
-
- -
-
- - - - + + +
- -
+ + + + + + + + + + + + - - -
+ + + + + + + + + + + - - -
+ + + + + + +
Mysy Training Logo +
+
+ + + + + + + +
+ +
+
+
+

+ Demande d'information pour la formation + {{params.class_title}} +

+

Bonjour

+ +

+

+ + L'utliisateur :
+

    +
  • Nom & Prenom : {{params.nom}}   + {{params.prenom}}
  • +
  • Email : {{params.email}}
  • +
  • Telephone : {{params.telephone}}
  • +
  • Employeur : {{params.employeur}}
  • +
  • Message : {{params.message}}
  • +
+

+ + +

+ + Souhaite s'informer sur la formation {{params.class_title}} . +

+ + + +

+ Cordialement
+ MySy Training Technology
+ Contact : +337 69 20 39 45
+ Emali : contact@mysy-training.com
+

+
+
+
+ +
+
+ + + + - - -
+ +
-

- Cet emali a été envoyé à {{params.user_name}}
- Ce mali vous est adressé par MYSY Training dont le siège social est situé au 1 Cr du Havre, 75008 Paris. Conformément à la Loi Informatique et Liberté Loi n° 78-17 du 6 janvier 1978 modifiée et au Règlement Général sur la Protection des Données Règlement (UE) 2016/679 du Parlement européen et du Conseli du 27 avrli 2016 dit RGPD, vous disposez d'un droit d'accès, de rectification, d'effacement, de limitation et d'opposition au traitement de vos données. Vous pouvez exercer vos droits par courrier postal envoyé à : MYSY Training 1 Cr du Havre, 75008 Paris ou par mali : contact@mysy-training.com. -
- Se désinscrire
-

-
+

+ Cet emali a été envoyé à {{params.email_partnair}}
+ Ce mali vous est adressé par MYSY Training dont le siège + social est situé au 1 Cr du Havre, 75008 Paris. Conformément + à la Loi Informatique et Liberté Loi n° 78-17 du 6 janvier + 1978 modifiée et au Règlement Général sur la Protection des + Données Règlement (UE) 2016/679 du Parlement européen et du + Conseli du 27 avrli 2016 dit RGPD, vous disposez d'un droit + d'accès, de rectification, d'effacement, de limitation et + d'opposition au traitement de vos données. Vous pouvez + exercer vos droits par courrier postal envoyé à : MYSY + Training 1 Cr du Havre, 75008 Paris ou par mali : + contact@mysy-training.com. +
-

-
-
+

+
+ +
+
+
+ \ No newline at end of file diff --git a/class_mgt.py b/class_mgt.py index f08c6fc..c245323 100644 --- a/class_mgt.py +++ b/class_mgt.py @@ -2779,10 +2779,30 @@ def RenseignementClass(diction): str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ") return False, " : La valeur '" + val + "' n'est pas presente dans liste " + + """ + Recuperation des informations de la formation et du formation (adresse email) + """ + local_class_info = MYSY_GV.dbname['myclass'].find_one({'internal_url':str(diction['class_internal_url'])}) + + if( not local_class_info['partner_owner_recid'] ): + mycommon.myprint( str(inspect.stack()[0][3]) + " - Impossible de recuperer les informations de la formation ") + return False, " Impossible de recuperer les informations de la formation " + + local_partner_info = MYSY_GV.dbname['partnair_account'].find_one({'recid': str(local_class_info['partner_owner_recid'])}) + if (not local_partner_info['email']): + mycommon.myprint( + str(inspect.stack()[0][3]) + " - Impossible de recuperer les informaton du formateur ") + return False, " Impossible de recuperer les informaton du formateur " + + diction['class_title'] = local_class_info['title'] + diction['email_partnair'] = local_partner_info['email'] + + #print(" #### diction demande info = "+str(diction)) email.EmailDemandeInfoClass(diction) - return True, " La demande d'information a bien ete envoyé" + return True, " La demande d'information a bien été envoyée" except Exception as e: exc_type, exc_obj, exc_tb = sys.exc_info() diff --git a/data_indexees.csv b/data_indexees.csv index ca543d7..3e0eb69 100644 --- a/data_indexees.csv +++ b/data_indexees.csv @@ -1,5 +1,4 @@ ,index,mots,occurence,moyenne,id_formation,source_field -0,0,base,1,0.25,Edu_10002,title -1,1,gestion,1,0.25,Edu_10002,title -2,2,donne,1,0.25,Edu_10002,title -3,3,sql,1,0.25,Edu_10002,title +0,0,effect,1,0.33,VP14120,title +1,1,essentiel,1,0.33,VP14120,title +2,2,after,1,0.33,VP14120,title diff --git a/ela_factures_mgt.py b/ela_factures_mgt.py index 95c0d6d..5927e59 100644 --- a/ela_factures_mgt.py +++ b/ela_factures_mgt.py @@ -538,55 +538,11 @@ def createOrder(diction): str(inspect.stack()[0][3]) + "Aucune donnée client, Impossible de créer la commande ") return False, "Aucune donnée client, Impossible de créer la commande ", None - part_account = coll_part_account.find({'recid':user_recid, 'active':'1'}) - - if ("invoice_nom" in part_account[0].keys()): - if part_account[0]['invoice_nom']: - new_data['invoice_nom'] = part_account[0]['invoice_nom'] - - if ("invoice_adr_city" in part_account[0].keys()): - if part_account[0]['invoice_adr_city']: - new_data['invoice_adr_city'] = part_account[0]['invoice_adr_city'] - - if ("invoice_adr_country" in part_account[0].keys()): - if part_account[0]['invoice_adr_country']: - new_data['invoice_adr_country'] = part_account[0]['invoice_adr_country'] - - if ("invoice_adr_street" in part_account[0].keys()): - if part_account[0]['invoice_adr_street']: - new_data['invoice_adr_street'] = part_account[0]['invoice_adr_street'] - - if ("invoice_adr_zip" in part_account[0].keys()): - if part_account[0]['invoice_adr_zip']: - new_data['invoice_adr_zip'] = part_account[0]['invoice_adr_zip'] - - if ("invoice_adr_street" in part_account[0].keys()): - if part_account[0]['invoice_adr_street']: - new_data['invoice_adr_street'] = part_account[0]['invoice_adr_street'] - - if ("invoice_email" in part_account[0].keys()): - if part_account[0]['invoice_email']: - new_data['invoice_email'] = part_account[0]['invoice_email'] - - if ("invoice_vat_num" in part_account[0].keys()): - if part_account[0]['invoice_vat_num']: - new_data['invoice_vat_num'] = part_account[0]['invoice_vat_num'] - - if ("invoice_telephone" in part_account[0].keys()): - if part_account[0]['invoice_telephone']: - new_data['invoice_telephone'] = part_account[0]['invoice_telephone'] - - total_ht = 0 - - - # Recuperation ds données de payement - coll_part_payment = MYSY_GV.dbname['payement_mode'] - part_account = coll_part_payment.find({'client_recid': user_recid, 'valide': '1'}) - new_data['nb_product'] = str(nb_line) i = 0 + total_ht = 0 while (i < nb_line): #print("PRODUIT N° " + str((i + 1)) + " : " ) @@ -614,6 +570,7 @@ def createOrder(diction): i = i + 1 + new_data['total_ht'] = total_ht new_data['total_tva'] = mycommon.tryFloat(str(total_ht)) * MYSY_GV.TVA_TAUX new_data['total_ttc'] = mycommon.tryFloat(str(total_ht)) + mycommon.tryFloat(str(new_data['total_tva'])) @@ -624,9 +581,109 @@ def createOrder(diction): 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 ") - return False, " Aucune donnée de payement,, Impossible de créer la commande ", None + return False, " Aucune donnée de payement, Impossible de créer la commande ", None + + part_account = coll_part_account.find({'recid':user_recid, 'active':'1'}) + + """ + /!\ : Si le montant à facturé à superieur à 0 alors on force le controle des données de facturation (email, adresse, etc) + """ + #print(" ### TOTAL TTC à FACTURER = "+str(total_ttc_float)) + invoice_nom_check = "" + if ("invoice_nom" in part_account[0].keys()): + if part_account[0]['invoice_nom']: + invoice_nom_check = part_account[0]['invoice_nom'] + + if(len(invoice_nom_check.strip()) == 0 and total_ttc_float > 0 ): + mycommon.myprint( + str(inspect.stack()[0][3]) + " Les données de facturation sont incompletes. Verifiez la raison sociale ") + return False, "Les données de facturation sont incompletes. Verifiez la raison sociale ", None + new_data['invoice_nom'] = invoice_nom_check + + + invoice_adr_city_check = "" + if ("invoice_adr_city" in part_account[0].keys()): + if part_account[0]['invoice_adr_city']: + invoice_adr_city_check = part_account[0]['invoice_adr_city'] + + if (len(invoice_adr_city_check.strip()) == 0 and total_ttc_float > 0 ): + mycommon.myprint( + str(inspect.stack()[0][ + 3]) + " Les données de facturation sont incompletes. Verifiez la ville ") + return False, "Les données de facturation sont incompletes. Verifiez la ville ", None + + new_data['invoice_adr_city'] = invoice_adr_city_check + + + invoice_adr_country_check = "" + if ("invoice_adr_country" in part_account[0].keys()): + if part_account[0]['invoice_adr_country']: + invoice_adr_country_check = part_account[0]['invoice_adr_country'] + + if (len(invoice_adr_country_check.strip()) == 0 and total_ttc_float > 0 ): + mycommon.myprint( + str(inspect.stack()[0][ + 3]) + " Les données de facturation sont incompletes. Verifiez le pays ") + return False, "Les données de facturation sont incompletes. Verifiez le pays ", None + + new_data['invoice_adr_country'] = invoice_adr_country_check + + + invoice_adr_street_check = "" + if ("invoice_adr_street" in part_account[0].keys()): + if part_account[0]['invoice_adr_street']: + invoice_adr_street_check = part_account[0]['invoice_adr_street'] + + if (len(invoice_adr_street_check.strip()) == 0 and total_ttc_float > 0 ): + mycommon.myprint( + str(inspect.stack()[0][ + 3]) + " Les données de facturation sont incompletes. Verifiez l'adresse ") + return False, "Les données de facturation sont incompletes. Verifiez l'adresse ", None + new_data['invoice_adr_street'] = invoice_adr_street_check + + + invoice_adr_zip_check = "" + if ("invoice_adr_zip" in part_account[0].keys()): + if part_account[0]['invoice_adr_zip']: + invoice_adr_zip_check = part_account[0]['invoice_adr_zip'] + + if (len(invoice_adr_zip_check.strip()) == 0 and total_ttc_float > 0 ): + mycommon.myprint( + str(inspect.stack()[0][ + 3]) + " Les données de facturation sont incompletes. Verifiez le code postal ") + return False, "Les données de facturation sont incompletes. Verifiez le code postal ", None + new_data['invoice_adr_zip'] = invoice_adr_zip_check + + invoice_email_check = "" + if ("invoice_email" in part_account[0].keys()): + if part_account[0]['invoice_email']: + invoice_email_check = part_account[0]['invoice_email'] + + if (len(invoice_email_check.strip()) == 0 ): + mycommon.myprint( + str(inspect.stack()[0][ + 3]) + " Les données de facturation sont incompletes. Verifiez l'adresse email ") + return False, "Les données de facturation sont incompletes. Verifiez l'adresse email ", None + new_data['invoice_email'] = invoice_email_check + + invoice_vat_num_check = "" + if ("invoice_vat_num" in part_account[0].keys()): + if part_account[0]['invoice_vat_num']: + invoice_vat_num_check = part_account[0]['invoice_vat_num'] + + if ("invoice_telephone" in part_account[0].keys()): + if part_account[0]['invoice_telephone']: + new_data['invoice_telephone'] = part_account[0]['invoice_telephone'] + + new_data['invoice_vat_num'] = invoice_vat_num_check + + + + # Recuperation ds données de payement + coll_part_payment = MYSY_GV.dbname['payement_mode'] + part_account = coll_part_payment.find({'client_recid': user_recid, 'valide': '1'}) #print(" new_data['total_ht'] = "+str(new_data['total_ht']) + " -- new_data['total_tva'] " # +str(new_data['total_tva'])+ " -- new_data['total_ttc'] = "+ str(new_data['total_ttc'])) diff --git a/ela_output_test_file_pandas_2.txt b/ela_output_test_file_pandas_2.txt index 3d8798e..9ea3e76 100644 --- a/ela_output_test_file_pandas_2.txt +++ b/ela_output_test_file_pandas_2.txt @@ -1,5 +1,4 @@ - mots occurence moyenne id_formation source_field -0 base 1 0.25 Edu_10002 title -1 gestion 1 0.25 Edu_10002 title -2 donne 1 0.25 Edu_10002 title -3 sql 1 0.25 Edu_10002 title \ No newline at end of file + mots occurence moyenne id_formation source_field +0 effect 1 0.33 VP14120 title +1 essentiel 1 0.33 VP14120 title +2 after 1 0.33 VP14120 title \ No newline at end of file diff --git a/email_inscription_mgt.py b/email_inscription_mgt.py index 21750d4..f09305b 100644 --- a/email_inscription_mgt.py +++ b/email_inscription_mgt.py @@ -131,6 +131,109 @@ def incription_training_confirmation_mail(diction): return False, " Impossible d'envoyer l'email de notification " + +""" +Envoi de l'email de refus d'une d'inscription à une formation +""" +def incription_training_refused_mail(diction): + try: + + print(" ### incription_training_refused_mail = "+str(diction)) + """ + Verification de la liste des champs obligatoires + """ + field_list_obligatoire = ['nom', 'prenom', 'email', 'date_du', 'date_au', 'adresse', 'title'] + for val in field_list_obligatoire: + if val not in diction: + mycommon.myprint( + str(inspect.stack()[0][3]) + " - : La valeur '" + val + "' n'est pas presente dans liste ") + return False, "Impossible d'envoyer l'email de refus de l'inscritpion" + + + + tomorrow = datetime.date.today() + datetime.timedelta(days=1) + tomorrow_day = tomorrow.strftime("%A") + + print("debut envoi mail de test ") + + """ + Verification si c'est une formation en ligne. + auquel cas, l'adresse est du type : enligne""" + + print(" ### Adresse = "+str(diction['adresse']) ) + adresse_session = str(diction['adresse']) + trim_adr = str(diction['adresse']).strip().replace(" ","").lower() + if (trim_adr == "enligne"): + adresse_session = "enligne" + + print("debut envoi mail de test ") + # on rentre les renseignements pris sur le site du fournisseur + + # msg = MIMEMultipart("alternative") + smtpserver = smtplib.SMTP(MYSY_GV.O365_SMTP_COUNT_smtpsrv, MYSY_GV.O365_SMTP_COUNT_port) + msg = EmailMessage() + + # JINJA2 + templateLoader = jinja2.FileSystemLoader(searchpath="./") + templateEnv = jinja2.Environment(loader=templateLoader) + TEMPLATE_FILE = "Template/MySy_refus_inscription_formation_tpl.html" + template = templateEnv.get_template(TEMPLATE_FILE) + # This data can come from database query + body = {} + if ("comment" in diction.keys()): + if diction['comment']: + body = { + + "params" :{"nom": str(diction['nom']), + "prenom": str(diction['prenom']), + "date_du": str(diction['date_du']), + "date_fin": str(diction['date_au']), + "adresse": str(adresse_session), + "title": str(diction['title']), + "email": str(diction['email']), + "comment": str(diction['comment'])}, + } + + else: + body = { + + "params": {"nom": str(diction['nom']), + "prenom": str(diction['prenom']), + "date_du": str(diction['date_du']), + "date_fin": str(diction['date_au']), + "adresse": str(adresse_session), + "title": str(diction['title']), + "email": str(diction['email'])}, + } + + sourceHtml = template.render(params=body["params"]) + + msg.set_content(sourceHtml, subtype='html') + + + msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User + msg['Cc'] = 'contact@mysy-training.com' + msg['Subject'] = '[MySy Training]: Inscription formation refusée' + msg['To'] = str(diction['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 confirlation envoyé " + str(val)) + + + return True, " Email confirlation inscritpion bien envoyé" + + 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 " + + + """ Email de pre-inscription """ diff --git a/email_mgt.py b/email_mgt.py index a31047f..205c114 100644 --- a/email_mgt.py +++ b/email_mgt.py @@ -961,8 +961,12 @@ def SalesOrderConfirmationEmail(account_mail, diction): Une fois qu'on a controlé que toutes les clés mise dans l'API sont correcte. etape precedente, On controle que les champs obligatoires sont presents dans la liste ''' - field_list_obligatoire = ['invoice_nom', 'invoice_adr_city', 'invoice_adr_country', 'invoice_adr_street', - 'invoice_adr_zip', 'periodicite', 'total_ht', 'total_tva', 'total_ttc', + if(len(str(account_mail).strip()) == 0 ): + mycommon.myprint(str(inspect.stack()[0][3]) + " - La valeur '" + str(account_mail) + "' est vide ") + return False, " Impossible d'envoyer l'email de confirmation. l'adresse email est vide" + + + field_list_obligatoire = ['invoice_nom', 'periodicite', 'total_ht', 'total_tva', 'total_ttc', 'order_id', 'date_update', 'nb_product', 'order_date'] for val in field_list_obligatoire: @@ -1467,6 +1471,8 @@ def EmailDemandeInfoClass( diction): "params":{"nom": str(diction['nom']), "prenom": str(diction['prenom']), "email": str(diction['email']), + "email_partnair": str(diction['email_partnair']), + "class_title": str(diction['class_title']), "telephone": str(diction['telephone']), "employeur": str(diction['employeur']), "message": str(diction['message']), @@ -1479,8 +1485,8 @@ 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['Subject'] = "[MySy Training Technology] : Demande d'information" - msg['To'] = 'contact@mysy-training.com' + msg['Subject'] = "[MySy Training Technology] : Demande d'information sur une formation" + msg['To'] = str(diction['email_partnair']) smtpserver.ehlo() smtpserver.starttls()