diff --git a/.idea/workspace.xml b/.idea/workspace.xml index afef93b..73c130d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,14 +1,10 @@ - + - - - - - + @@ -312,7 +315,6 @@ - @@ -337,6 +339,7 @@ - \ No newline at end of file diff --git a/Log/log_file.log b/Log/log_file.log index 6ac1bcf..2d37e14 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -1603624,3 +1603624,992 @@ 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 +INFO:werkzeug: * Restarting with stat +INFO:root:2023-06-06 19:24:56.929019 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-06-06 19:24:56.929019 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-06-06 19:24:56.929019 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-06-06 19:24:56.930105 : ++ FLASK PORT 5001 ++ +INFO:root:2023-06-06 19:24:56.930105 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 119-695-127 +INFO:root:2023-06-08 19:33:43.503350 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-06-08 19:33:43.503350 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-06-08 19:33:43.503350 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-06-08 19:33:43.503350 : ++ FLASK PORT 5001 ++ +INFO:root:2023-06-08 19:33:43.503350 : ++ LMS_BAS_URL mysy-training.com/ ++ +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-08 19:33:52.719631 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-06-08 19:33:52.719631 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-06-08 19:33:52.720631 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-06-08 19:33:52.720631 : ++ FLASK PORT 5001 ++ +INFO:root:2023-06-08 19:33:52.720631 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 830-059-825 +INFO:root:2023-06-08 19:34:37.697428 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:34:38.434230 : partner_login Connexion partnair contact@mysy-training.com : OK, Date : 2023-06-08 19:34:37.698434 , _id = 641c21666cad03956ab28252 +INFO:root:2023-06-08 19:34:38.447867 : partner_login Connexion partener_token : OK , _id = 641c23520d5d7f136a823b3c +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:34:38] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:34:38.618312 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:34:38.621360 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:34:38.624670 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:34:38.625690 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:34:38] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:34:38.681179 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:34:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:34:38] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:34:38] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:34:38.999787 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:34:39] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:34:41.402437 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:34:41.405435 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:34:41.409769 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:34:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_AO5Sij0Ujxi1Gc message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:34:41] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:34:42.802421 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:34:42.804972 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:34:42] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:34:42] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:34:49.110835 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:34:49.133201 : Get_Given_Code_Promo - Le code promo 'sdqs' n'est pas valide +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:34:49] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:35:37.793955 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=cancel_at_period_end=True +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1NFeiHAbmaEugrFTf44jMLh4",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1685977354,\n "billing_thresholds": null,\n "cancel_at": 1688569354,\n "cancel_at_period_end": true,\n "canceled_at": 1686245738,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "cancellation_requested"\n },\n "collection_method": "charge_automatically",\n "created": 1685976533,\n "currency": "eur",\n "current_period_end": 1688569354,\n "current_period_start": 1685977354,\n "customer": "cus_O1haqbA8yw3Frg",\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_O1i8R5IgR3GNlA",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1685976534,\n "metadata": {},\n "plan": {\n "id": "price_1NEpeJAbmaEugrFTXT5OFciX",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 0,\n "amount_decimal": "0",\n "billing_scheme": "per_unit",\n "created": 1685780243,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1NEpeJAbmaEugrFTXT5OFciX",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1685780243,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 0,\n "unit_amount_decimal": "0"\n },\n "quantity": 3,\n "subscription": "sub_1NFeiHAbmaEugrFTf44jMLh4",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NFeiHAbmaEugrFTf44jMLh4"\n },\n "latest_invoice": "in_1NFevWAbmaEugrFTQEeRstKa",\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_1NEpeJAbmaEugrFTXT5OFciX",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 0,\n "amount_decimal": "0",\n "billing_scheme": "per_unit",\n "created": 1685780243,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 3,\n "schedule": null,\n "start_date": 1685976533,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_5mWZxjOrxzfGG3 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:35:40] "POST /myclass/api/stop_strip_subscription/ 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-08 19:39:12.519808 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-06-08 19:39:12.519808 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-06-08 19:39:12.519808 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-06-08 19:39:12.519808 : ++ FLASK PORT 5001 ++ +INFO:root:2023-06-08 19:39:12.519808 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 830-059-825 +INFO:root:2023-06-08 19:39:13.356150 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:39:13.359599 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:39:13.362609 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:39:13.369549 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:39:13] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:39:13.379209 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:39:13] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:39:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:39:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:39:14.134870 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:39:14] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:39:18.199219 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:39:18.203101 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:39:18.206652 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19: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_t7eTjtx242Rwlh message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:39:18] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:40:56.144788 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:40:56.149249 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:40:56.154260 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:40:56.158568 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:40:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:40: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_3ZvHZ9tCBMB0Ns message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:40:56] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:40:56.555769 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:40:56.560954 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:40:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:41:26.220763 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:41:26.222771 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1NFeiHAbmaEugrFTf44jMLh4",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1685977354,\n "billing_thresholds": null,\n "cancel_at": 1688569354,\n "cancel_at_period_end": true,\n "canceled_at": 1686245738,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "cancellation_requested"\n },\n "collection_method": "charge_automatically",\n "created": 1685976533,\n "currency": "eur",\n "current_period_end": 1688569354,\n "current_period_start": 1685977354,\n "customer": "cus_O1haqbA8yw3Frg",\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_O1i8R5IgR3GNlA",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1685976534,\n "metadata": {},\n "plan": {\n "id": "price_1NEpeJAbmaEugrFTXT5OFciX",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 0,\n "amount_decimal": "0",\n "billing_scheme": "per_unit",\n "created": 1685780243,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1NEpeJAbmaEugrFTXT5OFciX",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1685780243,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 0,\n "unit_amount_decimal": "0"\n },\n "quantity": 3,\n "subscription": "sub_1NFeiHAbmaEugrFTf44jMLh4",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NFeiHAbmaEugrFTf44jMLh4"\n },\n "latest_invoice": "in_1NFevWAbmaEugrFTQEeRstKa",\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_1NEpeJAbmaEugrFTXT5OFciX",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 0,\n "amount_decimal": "0",\n "billing_scheme": "per_unit",\n "created": 1685780243,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 3,\n "schedule": null,\n "start_date": 1685976533,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_9KZMK9cFk3R94I message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_O1i8R5IgR3GNlA&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=2 +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo 2303
\n\t\t\t\t\t2 place du test
\n\t\t\t\t\t75001 Paris
\n\t\t\t\t\tFrane
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_236000291\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 08/06/2023 Date échéance : 08/06/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00LtrS\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard250100.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 100.0
    TVA 20% : 20.0
    Montant TTC : 120.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

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

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_236000291.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1NFeiHAbmaEugrFTf44jMLh4",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1686246086,\n "billing_thresholds": null,\n "cancel_at": 1688838086,\n "cancel_at_period_end": true,\n "canceled_at": 1686246086,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "cancellation_requested"\n },\n "collection_method": "charge_automatically",\n "created": 1685976533,\n "currency": "eur",\n "current_period_end": 1688838086,\n "current_period_start": 1686246086,\n "customer": "cus_O1haqbA8yw3Frg",\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_O1i8R5IgR3GNlA",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1685976534,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 2,\n "subscription": "sub_1NFeiHAbmaEugrFTf44jMLh4",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NFeiHAbmaEugrFTf44jMLh4"\n },\n "latest_invoice": "in_1NGmpvAbmaEugrFTseMqn0ql",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1685976533,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_QrhajL5RfpVBDK message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:41:28] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0x6f055f60 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_236000291.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_236000291.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_236000291.pdf') +INFO:root:2023-06-08 19:41:34.494131 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_236000291.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_236000291.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-06-08 19:41:34.495135 : Impression facture N° FACT_236000291 OK +INFO:root:2023-06-08 19:41:34.520132 : UpdataPartnerRankingClass - Le RANKING de 5 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-06-08 19:41:34.504119'} +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:41:34] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:41:34.729156 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:41:35] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:41:41.828283 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:41:41.832144 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:41:41.836171 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:41:41] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:41:42.006248 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:41:42.011976 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:41:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:41:42] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:41:42] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:41:42.514108 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:41:42] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:41:45.334940 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:41:45.338141 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:41:45.343621 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:41:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_0WUx0xUcCb1ui9 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:41:45] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:49:19.072098 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:49:19.075379 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:49:19.080444 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:49:19] "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_laCDQwHz2xF2j3 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:49:19] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:49:34.799172 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:49:34.802604 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:49:34] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:49:34.808773 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:49:34.812318 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:49:34.815434 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:49:34] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:49:34] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:49:34] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:49:35.448663 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:49:35] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:49:40.970123 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:49:40.974208 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:49:40.978683 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:49:40] "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_s6g4mU43bEaRtD message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:49:41] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:51:28.271340 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:51:28.274481 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:51:28.279686 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:51: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_ImNrpBtVInLzav message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:51:28] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:51:51.464661 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:51:51.470057 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:51:51.473056 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:51:51] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_BVaXI0TIsDkM3t message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:51:51] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 19:52:10.060055 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:52:10.063082 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 19:52:10.067065 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:52:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_xXC9bb8twiXUVR message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 19:52:10] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:05:59.753602 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:05:59.756726 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:05:59.761837 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:05: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_NOHOZw2vYnoeeR message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:00] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:06:06.265860 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:06:06.269865 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:06:06.273858 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:06] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:06:06.278883 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:06:06.286746 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:06] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:06] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:06] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:06:07.570972 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:07] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:06:10.175894 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:06:10.178846 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:06:10.183197 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_R0c0SkhXRAHf4d message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:10] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:06:17.245057 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:06:17.250795 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:06:17.253934 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:06:17.260654 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:17] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_IMKjCeuFzKWJJy message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:17] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:06:17.680160 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:06:17.688455 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:06:28.620843 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:06:28.679419 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:28] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:06:29.587893 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:06:29.594438 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:06:29.600057 : 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: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_QTD62tJSYzJDDV message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:06:30] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:07:14.197193 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:07:14.200233 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:07:14.206311 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20: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_T9fNvWuFMPNaPc message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:07:14] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:07:23.350720 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:07:23] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:07:23.364359 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:07:23.367804 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:07:23.373085 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:07:23.378352 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:07:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:07:23] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:07:23] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:07:24.710461 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:07:24] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:07:25.685953 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:07:25.689536 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:07:25.695796 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:07:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_aRNwsms3ydWW4H message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:07:26] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:08:04.403591 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:08:04.406236 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:08:04.411419 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:08:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_7jtNIgDecCsiGI message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:08:04] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:09:23.732488 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:09:23.735037 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:09:23.740058 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:09: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_lAbGJ45dK4VnlQ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:09:24] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:11:45.120211 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:11:45.123202 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:11:45.127237 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:11:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_ZfVkPjd4rSMymy message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:11:45] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:11:51.751751 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:11:51] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:11:51.774647 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:11:51.778892 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:11:51.783896 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:11:51.784899 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:11:51] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:11:51] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:11:51] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:11:52.742829 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:11:52] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:11:54.294971 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:11:54.298086 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:11:54.302131 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:11:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_XoJ3e45yTShjes message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:11:54] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:13:10.314172 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:13:10.317168 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:13:10.323965 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:13:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_wwltBZoxcv9Nem message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:13:10] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:14:29.447061 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:14:29.449111 : 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 +INFO:root:2023-06-08 20:14:29.455086 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:14:29] "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_czrl1KFlGOpPlU message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:14:29] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:14:31.614027 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:14:31.617940 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:14:31.621466 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:14:31.625533 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:14:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:14:31] "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_FAm2NAJjkPJ2b8 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:14:31] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:14:32.012412 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:14:32.018490 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:14:32] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:14:42.200398 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:14:42.205121 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:14:42.210141 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:14:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_bgwSLTBg3ZnIn4 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:14:42] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:14:44.291038 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:14:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:14:44.326793 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:14:44] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:14:44.995732 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:14:44.999279 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:14:45.004119 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:14:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_FovflzqZAjW25W message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:14:45] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:15:26.946884 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:15:26.950215 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:15:26.954306 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:15:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_f8kTHhsvTh68p3 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:15:27] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:15:45.938182 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:15:45.941653 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:15:45.946219 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:15:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_bRj2vi0MpeFdgN message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:15:46] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:15:50.464687 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:15:50.468906 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:15:50.471912 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:15:50] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:15:50.480901 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:15:50] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:15:50.483905 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:15:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:15:50] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:15:51.577352 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:15:51] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:16:00.437443 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:16:00.440453 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:16:00.444447 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:16:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_X7YbyTDbDAjuHk message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:16:00] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:16:34.832215 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:16:34.836252 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:16:34.842475 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:16:34] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_AbiaQaN8a8uUqb message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:16:35] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:16:58.512237 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:16:58.515238 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:16:58.520230 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:16: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_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_dBH5ZtmSwtfcjn message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:16:58] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:17:40.182800 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:17:40.187210 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:17:40.190524 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:17:40] "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_4KUTIvabHlDIXD message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:17:40] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:18:25.916210 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:18:25.926296 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:18:25.926296 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:18:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:root:2023-06-08 20:18:26.076045 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:18:26.084579 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2023-06-08 20:18:26.090365 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:18:26.092676 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:18:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:18:26] "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_oruf8P1HQsLffI message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:18:26] "POST /myclass/api/get_payement_mode/ 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_hBZGLQu0tX0XW0 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:18:26] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:18:26.770086 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:18:26.775415 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:18:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-06-08 20:23:12.367603 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-06-08 20:23:12.368595 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-06-08 20:23:12.368595 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-06-08 20:23:12.368595 : ++ FLASK PORT 5001 ++ +INFO:root:2023-06-08 20:23:12.368595 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 830-059-825 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-06-08 20:23:41.686950 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-06-08 20:23:41.687947 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-06-08 20:23:41.687947 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-06-08 20:23:41.687947 : ++ FLASK PORT 5001 ++ +INFO:root:2023-06-08 20:23:41.687947 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 830-059-825 +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-08 20:29:17.794479 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-06-08 20:29:17.794479 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-06-08 20:29:17.794479 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-06-08 20:29:17.794479 : ++ FLASK PORT 5001 ++ +INFO:root:2023-06-08 20:29:17.794479 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 830-059-825 +INFO:root:2023-06-08 20:30:21.946317 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:30:21.950147 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:30:21.952441 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:30:21] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:30:21] "POST /myclass/api/get_cust_prices_by_partner/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:30:22] "POST /myclass/api/get_linked_customer_to_partner/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:30:23.268340 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:30:23.270397 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:30:23.277182 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:30: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_IQoeBVif8Haz7w message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:30:23] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:30:37.465562 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:30:37.468835 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:30:37.470946 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:30:37.476962 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:30:37] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:30: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_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_CltVDnI1dfMm6g message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:30:37] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:30:37.844591 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:30:37.850014 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:30:37] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:30:43.733664 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:30:44.323464 : Get_Given_Code_Promo - Le code promo '' n'est pas valide +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:30:44] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:30:45.384644 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:30:45.387800 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1NFeiHAbmaEugrFTf44jMLh4",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1686246086,\n "billing_thresholds": null,\n "cancel_at": 1688838086,\n "cancel_at_period_end": true,\n "canceled_at": 1686246086,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "cancellation_requested"\n },\n "collection_method": "charge_automatically",\n "created": 1685976533,\n "currency": "eur",\n "current_period_end": 1688838086,\n "current_period_start": 1686246086,\n "customer": "cus_O1haqbA8yw3Frg",\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_O1i8R5IgR3GNlA",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1685976534,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 2,\n "subscription": "sub_1NFeiHAbmaEugrFTf44jMLh4",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NFeiHAbmaEugrFTf44jMLh4"\n },\n "latest_invoice": "in_1NGmpvAbmaEugrFTseMqn0ql",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1685976533,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_hj4J1NlZQIoFwb message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_O1i8R5IgR3GNlA&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=10&items[0][cancel_at_period_end]=False +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 response_code=400 +DEBUG:stripe:body='{\n "error": {\n "code": "parameter_unknown",\n "doc_url": "https://stripe.com/docs/error-codes/parameter-unknown",\n "message": "Received unknown parameter: items[0][cancel_at_period_end]",\n "param": "items[0][cancel_at_period_end]",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_HueYo4O7mA8Yub?t=1686249045",\n "type": "invalid_request_error"\n }\n}\n' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_HueYo4O7mA8Yub message='Dashboard link for request' +INFO:stripe:error_code=parameter_unknown error_message='Received unknown parameter: items[0][cancel_at_period_end]' error_param=items[0][cancel_at_period_end] error_type=invalid_request_error message='Stripe API error received' +INFO:root:2023-06-08 20:30:46.038616 : strip_update_subscription_plan -Request req_HueYo4O7mA8Yub: Received unknown parameter: items[0][cancel_at_period_end] - ERRORRRR AT Line : 1119 +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:30:46] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo 2303
\n\t\t\t\t\t2 place du test
\n\t\t\t\t\t75001 Paris
\n\t\t\t\t\tFrane
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_236000292\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 08/06/2023 Date échéance : 08/06/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00qhVE\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold1090900.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 900.0
    TVA 20% : 180.0
    Montant TTC : 1080.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

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

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_236000292.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0xa0b3d30 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_236000292.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_236000292.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_236000292.pdf') +INFO:root:2023-06-08 20:30:51.478786 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_236000292.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_236000292.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-06-08 20:30:51.479801 : Impression facture N° FACT_236000292 OK +INFO:root:2023-06-08 20:30:51.496755 : UpdataPartnerRankingClass - Le RANKING de 5 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-06-08 20:30:51.487815'} +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:30:51] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:30:51.641463 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:30:52] "POST /myclass/api/Check_MySy_LMS_Account/ 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-08 20:31:24.493921 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-06-08 20:31:24.493921 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-06-08 20:31:24.493921 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-06-08 20:31:24.495431 : ++ FLASK PORT 5001 ++ +INFO:root:2023-06-08 20:31:24.495431 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 830-059-825 +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-08 20:31:39.488617 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-06-08 20:31:39.488617 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-06-08 20:31:39.488617 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-06-08 20:31:39.488617 : ++ FLASK PORT 5001 ++ +INFO:root:2023-06-08 20:31:39.488617 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 830-059-825 +INFO:root:2023-06-08 20:31:39.542643 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:31:39.546283 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:31:39.549423 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:31:39.553952 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:31:39] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:31:39.559004 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:31:39.568366 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:31:39.572885 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:31:39] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:31:39] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:31:39] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:31:39.585784 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:31:39] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_UwTB61M7c7Dy1J message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:31:39] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:31:47.817543 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=cancel_at_period_end=True +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1NFeiHAbmaEugrFTf44jMLh4",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1686246086,\n "billing_thresholds": null,\n "cancel_at": 1688838086,\n "cancel_at_period_end": true,\n "canceled_at": 1686249108,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "cancellation_requested"\n },\n "collection_method": "charge_automatically",\n "created": 1685976533,\n "currency": "eur",\n "current_period_end": 1688838086,\n "current_period_start": 1686246086,\n "customer": "cus_O1haqbA8yw3Frg",\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_O1i8R5IgR3GNlA",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1685976534,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 2,\n "subscription": "sub_1NFeiHAbmaEugrFTf44jMLh4",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NFeiHAbmaEugrFTf44jMLh4"\n },\n "latest_invoice": "in_1NGmpvAbmaEugrFTseMqn0ql",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1685976533,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Zw6PpceC4RzcYV message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:31:48] "POST /myclass/api/stop_strip_subscription/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:31:59.627606 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:31:59.631678 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:31:59.635929 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:31:59] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:31:59.640459 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:31:59.644463 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:31:59] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:31:59] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:31:59] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:32:00.271908 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:00] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:32:01.592615 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:32:01.595607 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:32:01.599611 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:01] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_X6oQg0aLH8OTKJ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:01] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:32:10.520135 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:32:10.524437 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:32:10.528149 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:32:10.534067 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:10] "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_1539YUyG8e8hE3 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:10] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:32:10.942723 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:32:10.948757 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:32:21.056460 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:32:21.636252 : Get_Given_Code_Promo - Le code promo '' n'est pas valide +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:21] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:32:27.626585 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:32:27.631657 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1NFeiHAbmaEugrFTf44jMLh4",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1686246086,\n "billing_thresholds": null,\n "cancel_at": 1688838086,\n "cancel_at_period_end": true,\n "canceled_at": 1686249108,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "cancellation_requested"\n },\n "collection_method": "charge_automatically",\n "created": 1685976533,\n "currency": "eur",\n "current_period_end": 1688838086,\n "current_period_start": 1686246086,\n "customer": "cus_O1haqbA8yw3Frg",\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_O1i8R5IgR3GNlA",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1685976534,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 2,\n "subscription": "sub_1NFeiHAbmaEugrFTf44jMLh4",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NFeiHAbmaEugrFTf44jMLh4"\n },\n "latest_invoice": "in_1NGmpvAbmaEugrFTseMqn0ql",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1685976533,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_moQagNptw423Ne message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=cancel_at_period_end=False&proration_behavior=create_prorations&items[0][id]=si_O1i8R5IgR3GNlA&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=11 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NFeiHAbmaEugrFTf44jMLh4 response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1NFeiHAbmaEugrFTf44jMLh4",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1686246086,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1685976533,\n "currency": "eur",\n "current_period_end": 1688838086,\n "current_period_start": 1686246086,\n "customer": "cus_O1haqbA8yw3Frg",\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_O1i8R5IgR3GNlA",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1685976534,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 11,\n "subscription": "sub_1NFeiHAbmaEugrFTf44jMLh4",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NFeiHAbmaEugrFTf44jMLh4"\n },\n "latest_invoice": "in_1NGmpvAbmaEugrFTseMqn0ql",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 11,\n "schedule": null,\n "start_date": 1685976533,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Uz06fD3vUQVmjs message='Dashboard link for request' +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo 2303
\n\t\t\t\t\t2 place du test
\n\t\t\t\t\t75001 Paris
\n\t\t\t\t\tFrane
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_236000293\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 08/06/2023 Date échéance : 08/06/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_009Znl\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard1150550.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 550.0
    TVA 20% : 110.0
    Montant TTC : 660.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

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

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_236000293.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0xdb3a46d0 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_236000293.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_236000293.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_236000293.pdf') +INFO:root:2023-06-08 20:32:30.774821 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_236000293.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_236000293.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-06-08 20:32:30.775818 : Impression facture N° FACT_236000293 OK +INFO:root:2023-06-08 20:32:30.792175 : UpdataPartnerRankingClass - Le RANKING de 5 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-06-08 20:32:30.782581'} +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:30] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:32:31.054678 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:31] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:31] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:32:41.321907 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:32:41.325383 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:41] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:32:41.329626 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:32:41.334168 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:32:41.341241 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:41] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:32:41.853048 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:32:41] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-06-08 20:34:11.469171 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-06-08 20:34:11.474699 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [08/Jun/2023 20:34:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - diff --git a/ela_factures_mgt.py b/ela_factures_mgt.py index b50ac29..ca093b5 100644 --- a/ela_factures_mgt.py +++ b/ela_factures_mgt.py @@ -829,6 +829,11 @@ def createOrder(diction): return False, "Impossible de créer la commande ", None # Mise à jour du partenaire (ajouter le nouveau pack) + """ + /!\ Important : + Si le partenaire avait deja une date d'arret de son abonnement, la creation d'une nouvelle commande + entraine automatiquement l'annulation de l'arret de l'abonnement. + """ if ("pack" in diction.keys()): if diction['pack']: mypack = diction['pack'] @@ -836,7 +841,8 @@ def createOrder(diction): ret_val = coll_partner.find_one_and_update( {'recid': str(user_recid), }, {"$set": {'pack_service':str(mypack), - 'nb_formation':str(nb_formation)}}, + 'nb_formation':str(nb_formation), + 'end_date_abonnement':''}}, upsert=False, return_document=ReturnDocument.AFTER ) diff --git a/strype_payement.py b/strype_payement.py index 72cdc8d..016b73f 100644 --- a/strype_payement.py +++ b/strype_payement.py @@ -793,7 +793,7 @@ def stop_strip_subscription(diction): if (ret_val is None or ret_val['_id'] is None): mycommon.myprint( str(inspect.stack()[0][3]) + " - Arret abonnement : impossible de mettre à jour le client") - return False, False, "Arret abonnement : : impossible de mettre à jour le client" + return False, False, "Arret abonnement : impossible de mettre à jour le client" partners_email = local_ret_val['email'] partners_nom = local_ret_val['nom'] @@ -806,7 +806,7 @@ def stop_strip_subscription(diction): mycommon.myprint( str(inspect.stack()[0][3]) + " - WARNING : Arret abonnement, Impossible d'envoyer le mail de notification au partenaire") - return True, " Votre abonement va s'arreter le "+str(arrete_abonnement_formated) + return True, " Votre abonnement va s'arreter le "+str(arrete_abonnement_formated) except Exception as e: @@ -1118,11 +1118,13 @@ def strip_update_subscription_plan(diction): #a = stripe.SubscriptionSchedule.release( str(local_ret_val['stripe_subscription_id']), ) a = stripe.Subscription.modify( str(local_ret_val['stripe_subscription_id']), + cancel_at_period_end=False, proration_behavior='create_prorations', items=[{ 'id': current_subscription['items'].data[0].id, 'price': price_id, 'quantity': qty, + }] )