06/06/23 - 19h

master
cherif 2023-06-06 19:24:50 +02:00
parent acc5705f2d
commit 83597ea68a
8 changed files with 478 additions and 29 deletions

View File

@ -3,11 +3,12 @@
<component name="ChangeListManager">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="05/06/23 - 15h">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/GlobalVariable.py" beforeDir="false" afterPath="$PROJECT_DIR$/GlobalVariable.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Template/MySy_Invoice_tpl.html" beforeDir="false" afterPath="$PROJECT_DIR$/Template/MySy_Invoice_tpl.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Template/MySy_Sales_Order_tpl.html" beforeDir="false" afterPath="$PROJECT_DIR$/Template/MySy_Sales_Order_tpl.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Template/invoice.html" beforeDir="false" afterPath="$PROJECT_DIR$/Template/invoice.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/ela_factures_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/ela_factures_mgt.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Template/MySy_account_pro_enabled_tpl.html" beforeDir="false" afterPath="$PROJECT_DIR$/Template/MySy_account_pro_enabled_tpl.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/email_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/email_mgt.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/lms_chamilo/mysy_lms.py" beforeDir="false" afterPath="$PROJECT_DIR$/lms_chamilo/mysy_lms.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/strype_payement.py" beforeDir="false" afterPath="$PROJECT_DIR$/strype_payement.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />

View File

@ -269,7 +269,15 @@ MAX_PARTICIPANT_BY_CSV = 50
Stripe : Nom des produits et prix et la clé de config
"""
if (MYSY_ENV == "PROD"):
STRIPE_GOLD_PRICE_ID = "price_1MUSs8AbmaEugrFTLotyGESS"
STRIPE_GOLD_PRICE_ID = "price_1NG2HdAbmaEugrFTMbzVRwj1"
STRIPE_GOLD_PRICE_ID_50_OFF = "price_1NG2HsAbmaEugrFTAiHh2SzD"
STRIPE_GOLD_PRICE_ID_95_OFF = "price_1NG2IJAbmaEugrFTMPdMIzNH"
STRIPE_STANDARD_PRICE_ID = "price_1NG2JmAbmaEugrFTBwRDLlbs"
STRIPE_STANDARD_PRICE_ID_50_OFF = "price_1NG2GtAbmaEugrFTyJavt1Lx"
STRIPE_STANDARD_PRICE_ID_95_OFF = "price_1NG2HBAbmaEugrFTaMsDGikP"
STRIPE_STANDARD_PRICE_ID = "price_1MUSoGAbmaEugrFTTjz5lSye"
STRIPE_TEST_PRICE_ID = "price_1MT0f0AbmaEugrFTJjdZZXG7"
STRIPE_CONFIG_KEY_PUB = "pk_live_51LUUfAAbmaEugrFTyfNe4Dj0vbxc5qXQqNs0rztjAKy8oSlc5EEQyJGjA8Z5kXmP2gvUMcYLUBYCIyWWzLCw59RY00PtGInkVf"
@ -278,11 +286,13 @@ if (MYSY_ENV == "PROD"):
elif (MYSY_ENV == "DEV"):
STRIPE_GOLD_PRICE_ID = "price_1MT3FmAbmaEugrFTZ5vyJRcZ"
STRIPE_GOLD_PRICE_ID_50_OFF = "price_1NEpALAbmaEugrFTCDhlJyo3"
STRIPE_GOLD_PRICE_ID_100_OFF = "price_1NEpeJAbmaEugrFTXT5OFciX"
STRIPE_GOLD_PRICE_ID_95_OFF = "price_1NFyUEAbmaEugrFT5sRXixeZ"
STRIPE_STANDARD_PRICE_ID = "price_1MT3FLAbmaEugrFTDgw7MVgb"
STRIPE_STANDARD_PRICE_ID_50_OFF = "price_1NEpCOAbmaEugrFTcBnOf89X"
STRIPE_STANDARD_PRICE_ID_100_OFF = "price_1NEpbrAbmaEugrFTgLABbIOF"
STRIPE_STANDARD_PRICE_ID_95_OFF = "price_1NFySwAbmaEugrFTxrQHhFN9"
STRIPE_TEST_PRICE_ID = "price_1MT3FLAbmaEugrFTDgw7MVgb"
@ -294,9 +304,13 @@ elif (MYSY_ENV == "DEV"):
elif (MYSY_ENV == "REC"):
STRIPE_GOLD_PRICE_ID = "price_1MT3FmAbmaEugrFTZ5vyJRcZ"
STRIPE_GOLD_PRICE_ID_50_OFF = "price_1NEpALAbmaEugrFTCDhlJyo3"
STRIPE_GOLD_PRICE_ID_95_OFF = "price_1NFyUEAbmaEugrFT5sRXixeZ"
STRIPE_GOLD_PRICE_ID_100_OFF = "price_1NEpeJAbmaEugrFTXT5OFciX"
STRIPE_STANDARD_PRICE_ID = "price_1MT3FLAbmaEugrFTDgw7MVgb"
STRIPE_STANDARD_PRICE_ID_50_OFF = "price_1NEpCOAbmaEugrFTcBnOf89X"
STRIPE_STANDARD_PRICE_ID_95_OFF = "price_1NFySwAbmaEugrFTxrQHhFN9"
STRIPE_STANDARD_PRICE_ID_100_OFF = "price_1NEpbrAbmaEugrFTgLABbIOF"
STRIPE_TEST_PRICE_ID = "price_1MT3FLAbmaEugrFTDgw7MVgb"
@ -360,7 +374,7 @@ elif (MYSY_ENV == "DEV"):
MYSY_LMS_BDD = "chamilo_dev2"
MYSY_LMS_URL = "https://lms.mysy-training.com/"
MYSY_LMS_BASE_DIRECTORY = "/var/www/html/chamilo_mysy/"
LMS_BAS_URL = "mysy-training.fr/"
LMS_BAS_URL = "mysy-training.com/"
elif (MYSY_ENV == "REC"):
@ -371,7 +385,7 @@ elif (MYSY_ENV == "REC"):
MYSY_LMS_BDD = "mysy_db_chamilo_rec"
MYSY_LMS_URL = "https://reclms.mysy-training.com/"
MYSY_LMS_BASE_DIRECTORY = "/var/www/html/chamilo_mysy_rec/"
LMS_BAS_URL = "mysy-hosting.fr/"
LMS_BAS_URL = "mysy-hosting.com/"

View File

@ -1603198,3 +1603198,429 @@ INFO:werkzeug:127.0.0.1 - - [05/Jun/2023 17:24:57] "POST /myclass/api/LMS_Get_Pa
INFO:werkzeug:127.0.0.1 - - [05/Jun/2023 17:24:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-06-05 17:24:58.274713 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [05/Jun/2023 17:24:58] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
INFO:root:2023-06-06 10:26:23.327242 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 10:26:23.328239 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 10:26:23.329241 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 10:26:23.329241 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 10:26:23.329241 : ++ LMS_BAS_URL mysy-training.fr/ ++
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:2023-06-06 10:26:35.657317 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 10:26:35.657317 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 10:26:35.657317 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 10:26:35.657317 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 10:26:35.657317 : ++ LMS_BAS_URL mysy-training.fr/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 119-695-127
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-06-06 10:29:32.364832 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 10:29:32.364832 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 10:29:32.364832 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 10:29:32.364832 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 10:29:32.364832 : ++ LMS_BAS_URL mysy-training.fr/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 119-695-127
INFO:root:2023-06-06 13:34:50.139267 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 13:34:50.140263 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 13:34:50.140263 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 13:34:50.140263 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 13:34:50.140263 : ++ LMS_BAS_URL mysy-training.fr/ ++
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:2023-06-06 13:34:59.057820 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 13:34:59.057820 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 13:34:59.057820 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 13:34:59.057820 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 13:34:59.057820 : ++ LMS_BAS_URL mysy-training.fr/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 119-695-127
INFO:root:2023-06-06 13:39:14.874482 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 13:39:15.535045 : partner_login Connexion partnair contact@mysy-training.com : OK, Date : 2023-06-06 13:39:14.875510 , _id = 641c21666cad03956ab28252
INFO:root:2023-06-06 13:39:15.542390 : partner_login Connexion partener_token : OK , _id = 641c23520d5d7f136a823b3c
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:39:15] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
INFO:root:2023-06-06 13:39:15.719839 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 13:39:15.723067 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 13:39:15.726061 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 13:39:15.729436 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:39:15] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:root:2023-06-06 13:39:15.737464 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:39:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:39:15] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:39:15] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-06-06 13:39:16.058052 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:39:16] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
INFO:root:2023-06-06 13:39:18.247534 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 13:39:18.250534 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 13:39:18.255533 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:39: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_O1haqbA8yw3Frg/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_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_WSGOZPXj6UPGrF message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:39:18] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
INFO:root:2023-06-06 13:39:19.649587 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 13:39:19.653166 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:39:19] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:39:19] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
INFO:root:2023-06-06 13:39:34.755290 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:39:34] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-06-06 13:44:19.421772 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 13:44:19.421772 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 13:44:19.421772 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 13:44:19.421772 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 13:44:19.421772 : ++ LMS_BAS_URL mysy-training.fr/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 119-695-127
INFO:root:2023-06-06 13:50:12.639356 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 13:50:13.154382 : Get_Given_Code_Promo - Le code promo '' n'est pas valide
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:50:13] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:root:2023-06-06 13:50:15.253073 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:50:15] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:root:2023-06-06 13:51:03.755405 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:51:03] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-06-06 13:55:17.872991 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 13:55:17.872991 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 13:55:17.873990 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 13:55:17.873990 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 13:55:17.873990 : ++ LMS_BAS_URL mysy-training.fr/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 119-695-127
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-06-06 13:56:14.095635 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 13:56:14.096653 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 13:56:14.096653 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 13:56:14.096653 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 13:56:14.096653 : ++ LMS_BAS_URL mysy-training.fr/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 119-695-127
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-06-06 13:57:18.823800 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 13:57:18.823800 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 13:57:18.824813 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 13:57:18.824813 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 13:57:18.824813 : ++ LMS_BAS_URL mysy-training.fr/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 119-695-127
INFO:root:2023-06-06 13:57:27.529815 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 13:57:28.044941 : Get_Given_Code_Promo - Le code promo '' n'est pas valide
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:57:28] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:root:2023-06-06 13:57:29.293025 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 13:57:29] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:00:48.428465 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:00:48.431869 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:00:48.435827 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:00:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/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_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_SFg0HXtNL8c4Pl message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:00:48] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:00:55.328558 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:00:55] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:00:57.218336 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:00:57.221840 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:00:57.224876 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:00:57] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:00:57.230303 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:00:57] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:00:57.234547 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:00:57] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:00:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:00:57.844217 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:00:57] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:00:59.126505 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:00:59.129505 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:00:59.134503 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:00:59] "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_O1haqbA8yw3Frg/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_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_52kiwco6fX0MAn message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:00:59] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:01:00.597043 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:01:00.601039 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:01:00] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:01:00] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:01:02.967393 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:01:02.974483 : Get_Given_Code_Promo - Le code promo '' n'est pas valide
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:01:02] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:01:13.497496 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:01:13] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:01:55.766422 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:01:55.769404 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:01:55.773545 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:01:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/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_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_qy2nR9a8Dhd20J message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:01:56] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:02:15.119058 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:02:15.122067 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:02:15.127086 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:02:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/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_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_6ZN4dWsm7pnNjL message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:02:15] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:02:17.526555 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:02:17] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:02:23.668944 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:02:23] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:02:25.032191 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:02:25.035834 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:02:25] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:02:25] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:02:28.682784 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:02:28] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:04:16.634910 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:04:16.637905 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:04:16.643906 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:04:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_6PGPO124lvB26f message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:04:16] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:04:24.889515 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:04:24.891554 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:04:24] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:04:24] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:04:28.699456 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:04:28] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:06:18.553080 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:06:18.555750 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:06:18.561763 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:06: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_O1haqbA8yw3Frg/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_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_VkXPwz2MrvQKD5 message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:06:18] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:07:14.383752 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:07:14.386673 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:07:14.391687 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:07:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/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_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_yE5watC8qdQczw message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:07:14] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:08:23.230339 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:08:23.233841 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:08:23.240440 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:08:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/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_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_VBbTILG0jHlYXQ message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:08:23] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:08:24.349051 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:08:24.351187 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:08:24.356468 : Security check : IP adresse '127.0.0.1' connected
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card
DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:08:24] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:08:24.367173 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:08:24] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_EGWAyvUeeUeG3Z message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:08:24] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:08:24.747902 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:08:24.754906 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:08:24] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:08:42.689788 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:08:42] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:10:38.490041 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:10:38.494601 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:10:38.497614 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:10:38.501604 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:10:38] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:10:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/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_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_kyZIWWMPYSHJmU message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:10:38] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:10:38.882220 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:10:38.887809 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:10:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:10:41.511743 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:10:41] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:12:02.373922 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:12:02.377408 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:12:02.381407 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:12:02.385400 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12:02] "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_O1haqbA8yw3Frg/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_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_C8LayvfVbM5qv4 message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12:02] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:12:02.782837 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:12:02.787852 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:12:20.249810 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:12:20.252840 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:12:20.254833 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12:20] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:12:20.259630 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:12:20.265393 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12:20] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12:20] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:12:20.800443 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12:20] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:12:24.358965 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:12:24.361551 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:12:24.365564 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12: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_O1haqbA8yw3Frg/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_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_L9FjXtiGNpqe3m message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12:24] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:12:28.759907 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:12:28.762184 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:12:28.764318 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:12:28.771925 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12:28] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/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_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_dnPGtRD4G2g1vl message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12:29] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:12:29.130574 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:12:29.135712 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:12:43.618185 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:12:43] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:14:56.287164 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:14:56.292220 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:14:56.294235 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:14:56.297254 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:14:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:14:56] "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_O1haqbA8yw3Frg/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_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_zaqc1F9f2l74aj message='Dashboard link for request'
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:14:56] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:14:56.714756 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:14:56.721469 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:14:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:14:58.810891 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:14:58] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:33:48.527729 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:33:48.530725 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:33:48] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:33:48.536787 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:33:48.537787 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-06-06 14:33:48.543812 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:33:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:33:48] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:33:48] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-06-06 14:33:48.614443 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [06/Jun/2023 14:33:48] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-06-06 15:05:05.853775 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 15:05:05.854321 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 15:05:05.854321 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 15:05:05.854321 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 15:05:05.854321 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 119-695-127
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-06-06 18:02:36.241641 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 18:02:36.241641 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 18:02:36.241641 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 18:02:36.241641 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 18:02:36.241641 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 119-695-127
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-06-06 18:03:26.451714 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 18:03:26.451714 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 18:03:26.451714 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 18:03:26.451714 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 18:03:26.451714 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 119-695-127
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-06-06 18:04:07.491091 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 18:04:07.491091 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 18:04:07.491091 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 18:04:07.491091 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 18:04:07.491091 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 119-695-127
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-06-06 18:04:34.152236 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 18:04:34.152236 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 18:04:34.152236 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 18:04:34.152236 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 18:04:34.153231 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 119-695-127
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-06-06 18:04:56.682118 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 18:04:56.682118 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 18:04:56.682118 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 18:04:56.682118 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 18:04:56.682118 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 119-695-127
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-06-06 18:05:28.868300 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 18:05:28.868300 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 18:05:28.868300 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 18:05:28.868300 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 18:05:28.868300 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 119-695-127
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-06-06 18:06:23.770647 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-06-06 18:06:23.770647 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-06-06 18:06:23.770647 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-06-06 18:06:23.770647 : ++ FLASK PORT 5001 ++
INFO:root:2023-06-06 18:06:23.770647 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 119-695-127
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading

View File

@ -115,7 +115,7 @@
<p style="text-align:justify; font-size:13px; line-height: 1.8rem;">Votre clé
secrète est : {{
params.secrete }}<br />
Rendez-vous sur le site <a href="https://www.mysy-training.com/"> https://www.mysy-training.com/ </a> pour vous connecter</p>
Rendez-vous sur le site <a href={{params.url_connexion}}> {{params.url_connexion }}</a> pour vous connecter</p>
</p>
<p

View File

@ -1319,6 +1319,7 @@ def Pro_Account_Token_Pass(account_mail, my_token):
# msg = MIMEMultipart("alternative")
msg = EmailMessage()
url_environnement = MYSY_GV.CLIENT_URL_BASE
# JINJA2
templateLoader = jinja2.FileSystemLoader(searchpath="./")
templateEnv = jinja2.Environment(loader=templateLoader)
@ -1327,7 +1328,8 @@ def Pro_Account_Token_Pass(account_mail, my_token):
# This data can come from database query
body = {
"params":{"user_name": str(account_mail),
"secrete": str(my_token)}
"secrete": str(my_token),
"url_connexion":str(url_environnement)}
}
sourceHtml = template.render(params=body["params"])

View File

@ -118,12 +118,12 @@ def Create_MySy_LMS_User(diction):
lastname = ""
if ("lastname" in diction.keys()):
if diction['lastname']:
lastname = diction['lastname']
local_status, lastname = mycommon.RemoveAllNonAlphaNumeric( diction['lastname'])
firstname = ""
if ("firstname" in diction.keys()):
if diction['firstname']:
firstname = diction['firstname']
local_status, firstname = mycommon.RemoveAllNonAlphaNumeric( diction['firstname'] )
password = ""
if ("password" in diction.keys()):
@ -148,7 +148,7 @@ def Create_MySy_LMS_User(diction):
username = ""
if ("username" in diction.keys()):
if diction['username']:
username = diction['username']
local_status, username = mycommon.RemoveAllNonAlphaNumeric( diction['username'])
# Recuperation des données du partenaire
local_status, my_partner = mycommon.get_partner_data_from_recid(partner_recid)

View File

@ -624,11 +624,11 @@ def valide_partnair_account(value):
if (result):
if (MYSY_GV.MYSY_ENV == "PROD"):
url = 'https://www.mysy-training.com/PartnerLogin0/'
url = 'https://www.mysy-training.com/PartnerLogin1/'
elif (MYSY_GV.MYSY_ENV == "DEV"):
url = 'http://localhost:3009/PartnerLogin0'
url = 'http://localhost:3009/PartnerLogin1/'
elif (MYSY_GV.MYSY_ENV == "REC"):
url = 'https://dev.mysy-training.com/PartnerLogin0/'
url = 'https://dev.mysy-training.com/PartnerLogin1/'
else:
if (MYSY_GV.MYSY_ENV == "PROD"):

View File

@ -569,8 +569,9 @@ def create_subscription(diction):
# On ecrase la valeur celle du discount si il existe une discount
if( str(discount_valeur) == "50" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_GOLD_PRICE_ID_50_OFF
elif( str(discount_valeur) == "100" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_GOLD_PRICE_ID_100_OFF
elif (str(discount_valeur) == "95" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_GOLD_PRICE_ID_95_OFF
elif( str(pack).lower() == "standard"):
@ -578,8 +579,9 @@ def create_subscription(diction):
# On ecrase la valeur celle du discount si il existe une discount
if (str(discount_valeur) == "50" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_STANDARD_PRICE_ID_50_OFF
elif (str(discount_valeur) == "100" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_STANDARD_PRICE_ID_100_OFF
elif (str(discount_valeur) == "95" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_STANDARD_PRICE_ID_95_OFF
elif (str(pack).lower() == "test"):
price_id = MYSY_GV.STRIPE_TEST_PRICE_ID
@ -907,8 +909,9 @@ def strip_update_subscription_qty(diction):
# On ecrase la valeur celle du discount si il existe une discount
if (str(discount_valeur) == "50" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_GOLD_PRICE_ID_50_OFF
elif (str(discount_valeur) == "100" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_GOLD_PRICE_ID_100_OFF
elif (str(discount_valeur) == "95" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_GOLD_PRICE_ID_95_OFF
elif (str(pack).lower() == "standard" ):
@ -916,8 +919,9 @@ def strip_update_subscription_qty(diction):
# On ecrase la valeur celle du discount si il existe une discount
if (str(discount_valeur) == "50" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_STANDARD_PRICE_ID_50_OFF
elif (str(discount_valeur) == "100" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_STANDARD_PRICE_ID_100_OFF
elif (str(discount_valeur) == "95" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_STANDARD_PRICE_ID_95_OFF
elif (str(pack).lower() == "test"):
price_id = MYSY_GV.STRIPE_TEST_PRICE_ID
@ -1089,16 +1093,18 @@ def strip_update_subscription_plan(diction):
# On ecrase la valeur celle du discount si il existe une discount
if (str(discount_valeur) == "50" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_GOLD_PRICE_ID_50_OFF
elif (str(discount_valeur) == "100" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_GOLD_PRICE_ID_100_OFF
elif (str(discount_valeur) == "95" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_GOLD_PRICE_ID_95_OFF
elif (str(pack).lower() == "standard"):
price_id = MYSY_GV.STRIPE_STANDARD_PRICE_ID
# On ecrase la valeur celle du discount si il existe une discount
if (str(discount_valeur) == "50" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_STANDARD_PRICE_ID_50_OFF
elif (str(discount_valeur) == "100" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_STANDARD_PRICE_ID_100_OFF
elif (str(discount_valeur) == "95" and str(discount_type) == "percent"):
price_id = MYSY_GV.STRIPE_STANDARD_PRICE_ID_95_OFF
elif (str(pack).lower() == "test"):
price_id = MYSY_GV.STRIPE_TEST_PRICE_ID