hod_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_1RICfGH5Tnl1Y5Ucizdr9dry\",\\n \"object\": \"plan\",\\
n \"active\": true,\\n \"aggregate_usage\": null,\\n \"amount\": 799,\\n
\"amount_decimal\": \"799\",\\n \"billing_scheme\": \"per_unit\",\\
n \"created\": 1745689042,\\n \"currency\": \"usd\",\\
n \"interval\": \"month\",\\n \"interval_count\": 1,\\n \"livemode\":
false,\\n \"metadata\": {},\\n \"meter\": null,\\n \"nickname\": null,\\n
\"product\": \"prod_RvRd1EdFP92tsP\",\\n \"tiers_mode\": null,\\
n \"transform_usage\": null,\\n \"trial_period_days\": null,\\
n \"usage_type\": \"licensed\"\\n },\\n \"quantity\": 1,\\n \"schedule\":
null,\\n \"start_date\": 1750625258,\\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'","timestamp":"2025-06-23
02:48:05","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"verify-session Python stderr: 2025-06-23 02:48:05,410
[DEBUG] stripe:121 - link=https://dashboard.stripe.com/test/logs/req_Hmx3QIw0pNeWTX
message='Dashboard link for request'","timestamp":"2025-06-23
02:48:05","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"verify-session Python stderr: 2025-06-23 02:48:07,334
[DEBUG] __main__:139 - Fetching pricing for tier=pro,
is_annual=None","timestamp":"2025-06-23
02:48:07","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"verify-session Python stderr: 2025-06-23 02:48:08,307
[DEBUG] __main__:151 - Pricing retrieved: tier=pro, price_id=None,
one_time_price_id=price_1RICfGH5Tnl1Y5UcnwNm4Clw, tokens=1500","timestamp":"2025-
06-23 02:48:08","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"verify-session Python stderr: 2025-06-23 02:48:08,307
[DEBUG] __main__:139 - Fetching pricing for tier=pro,
is_annual=None","timestamp":"2025-06-23
02:48:08","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"verify-session Python stderr: 2025-06-23 02:48:08,767
[DEBUG] __main__:151 - Pricing retrieved: tier=pro, price_id=None,
one_time_price_id=price_1RICfGH5Tnl1Y5UcnwNm4Clw, tokens=1500","timestamp":"2025-
06-23 02:48:08","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"verify-session Python stderr: 2025-06-23 02:48:10,215
[INFO] __main__:181 - Duplicate batch detected:
user_id=OBHDwlMu0mhGXvkVjM2kaBV4qSP2, tier=pro, batch_type=subscription,
identifier=sub_1RcuneH5Tnl1Y5UcJ1X4liCV","timestamp":"2025-06-23
02:48:10","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"verify-session Python stderr: 2025-06-23 02:48:11,215
[INFO] __main__:207 - Allocated 1500 tokens: user_id=OBHDwlMu0mhGXvkVjM2kaBV4qSP2,
tier=pro, total_tokens=2000, batch_type=subscription,
identifier=sub_1RcuneH5Tnl1Y5UcJ1X4liCV","timestamp":"2025-06-23
02:48:11","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"verify-session Python stderr: 2025-06-23 02:48:11,398
[DEBUG] urllib3.connectionpool:1049 - Starting new HTTPS connection (1):
oauth2.googleapis.com:443","timestamp":"2025-06-23
02:48:11","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"verify-session Python stderr: 2025-06-23 02:48:11,604
[DEBUG] urllib3.connectionpool:544 - https://oauth2.googleapis.com:443 \"POST
/token HTTP/1.1\" 200 None","timestamp":"2025-06-23
02:48:11","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"verify-session Python stderr: 2025-06-23 02:48:12,171
[INFO] __main__:426 - Session verified: user_id=OBHDwlMu0mhGXvkVjM2kaBV4qSP2,
session_id=cs_test_a1eyyqs8VRrwXx3pLnI3nGMCHC2iSgmxjnba1GjmnVr5fiaaq8WPbvmiJ5,
tier=pro, tokens=2000","timestamp":"2025-06-23
02:48:12","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"verify-session Python stdout:
{\"tier\": \"pro\", \"tokens\": 2000, \"expiresAt\": \"2025-07-
23T02:47:38Z\", \"mode\": \"subscription\", \"isOneTime\":
false}","timestamp":"2025-06-23 02:48:12","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"verify-session Python stderr: 2025-06-23 02:48:12,172
[INFO] __main__:1585 - Completed action=verify-session, result={'tier': 'pro',
'tokens': 2000, 'expiresAt': '2025-07-23T02:47:38Z', 'mode': 'subscription',
'isOneTime': False}","timestamp":"2025-06-23
02:48:12","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"code":0,"level":"info","message":"verify-session Python process
exited","stderr":"2025-06-23 02:47:59,824 [DEBUG] google.auth._default:278 -
Checking None for explicit credentials as part of auth process...\r\n2025-06-23
02:47:59,824 [DEBUG] google.auth._default:250 - Checking Cloud SDK credentials as
part of auth process...\r\n2025-06-23 02:48:01,402 [DEBUG]
urllib3.connectionpool:241 - Starting new HTTP connection (1):
metadata.google.internal.:80\r\n2025-06-23 02:48:01,411 [DEBUG]
urllib3.connectionpool:241 - Starting new HTTP connection (1):
metadata.google.internal.:80\r\n2025-06-23 02:48:01,411 [DEBUG] __main__:38 -
Google Cloud Logging initialized\r\n2025-06-23 02:48:01,415 [DEBUG] __main__:55 -
Loaded environment variables from .env\r\n2025-06-23 02:48:01,738 [INFO] stripe:128
- message='Request to Stripe api' method=get url=https://api.stripe.com/v1/prices?
limit=1\r\n2025-06-23 02:48:01,738 [DEBUG] stripe:121 - api_version=2025-02-
24.acacia message='Post details' post_data=limit=1\r\n2025-06-23 02:48:01,740
[DEBUG] urllib3.connectionpool:1049 - Starting new HTTPS connection (1):
api.stripe.com:443\r\n2025-06-23 02:48:02,452 [DEBUG] urllib3.connectionpool:544 -
https://api.stripe.com:443 \"GET /v1/prices?limit=1 HTTP/1.1\" 200 851\r\n2025-06-
23 02:48:02,452 [INFO] stripe:128 - message='Stripe API response'
path=https://api.stripe.com/v1/prices?limit=1 response_code=200\r\n2025-06-23
02:48:02,452 [DEBUG] stripe:121 - body='{\\n \"object\": \"list\",\\n \"data\":
[\\n {\\n \"id\": \"price_1RIEMIH5Tnl1Y5Uc3x7YMTJC\",\\
n \"object\": \"price\",\\n \"active\": true,\\n \"billing_scheme\":
\"per_unit\",\\n \"created\": 1745695554,\\n \"currency\": \"usd\",\\n
\"custom_unit_amount\": null,\\n \"livemode\": false,\\n \"lookup_key\":
null,\\n \"metadata\": {},\\n \"nickname\": \"starter\",\\
n \"product\": \"prod_RvRaXvxTVLICAK\",\\n \"recurring\": {\\
n \"aggregate_usage\": null,\\n \"interval\": \"year\",\\
n \"interval_count\": 1,\\n \"meter\": null,\\
n \"trial_period_days\": null,\\n \"usage_type\": \"licensed\"\\n
},\\n \"tax_behavior\": \"unspecified\",\\n \"tiers_mode\": null,\\n
\"transform_quantity\": null,\\n \"type\": \"recurring\",\\
n \"unit_amount\": 4453,\\n \"unit_amount_decimal\": \"4453\"\\n }\\n
],\\n \"has_more\": true,\\n \"url\": \"/v1/prices\"\\n}' message='API response
body'\r\n2025-06-23 02:48:02,453 [DEBUG] stripe:121 -
link=https://dashboard.stripe.com/test/logs/req_nx2729V1Qh3QB3 message='Dashboard
link for request'\r\n2025-06-23 02:48:02,454 [DEBUG] __main__:65 - Stripe API
connectivity test succeeded\r\n2025-06-23 02:48:02,455 [DEBUG] __main__:72 -
Initializing Firebase\r\n2025-06-23 02:48:02,511 [INFO] __main__:85 - Firebase
initialized using file\r\n2025-06-23 02:48:02,633 [DEBUG]
urllib3.connectionpool:1049 - Starting new HTTPS connection (1):
oauth2.googleapis.com:443\r\n2025-06-23 02:48:02,815 [DEBUG]
urllib3.connectionpool:544 - https://oauth2.googleapis.com:443 \"POST /token
HTTP/1.1\" 200 None\r\n2025-06-23 02:48:04,298 [INFO] __main__:93 - Firestore
connectivity test succeeded\r\n2025-06-23 02:48:04,298 [INFO] __main__:101 -
Firebase and Firestore initialized successfully\r\n2025-06-23 02:48:04,349 [INFO]
__main__:113 - Cloud Tasks client initialized for queue: webhook-processing-queue-
2\r\n2025-06-23 02:48:04,400 [INFO] __main__:125 - Cloud Tasks client initialized
for queue: webhook-processing-queue-2\r\n2025-06-23 02:48:04,400 [INFO]
__main__:1488 - Starting stripe_server.py\r\n2025-06-23 02:48:04,400 [DEBUG]
__main__:1489 - Environment variables\r\n2025-06-23 02:48:04,400 [INFO]
__main__:1541 - Reading stdin input\r\n2025-06-23 02:48:04,401 [DEBUG]
__main__:1543 - Raw stdin input (length=161): {\"action\":\"verify-
session\",\"sessionId\":\"cs_test_a1eyyqs8VRrwXx3pLnI3nGMCHC2iSgmxjnba1GjmnVr5fiaaq
8WP...\r\nDEBUG: Raw stdin input: {\"action\":\"verify-
session\",\"sessionId\":\"cs_test_a1eyyqs8VRrwXx3pLnI3nGMCHC2iSgmxjnba1GjmnVr5fiaaq
8WP...\r\n2025-06-23 02:48:04,401 [DEBUG] __main__:1552 - Parsed stdin JSON:
action=verify-session, data={'action': 'verify-session', 'sessionId':
'cs_test_a1eyyqs8VRrwXx3pLnI3nGMCHC2iSgmxjnba1GjmnVr5fiaaq8WPbvmiJ5', 'userId':
'OBHDwlMu0mhGXvkVjM2kaBV4qSP2', 'tier': 'pro'}\r\nDEBUG: Parsed stdin JSON:
action=verify-session\r\n2025-06-23 02:48:04,401 [DEBUG] __main__:1568 - Executing
action: verify-session\r\n2025-06-23 02:48:04,742 [INFO] stripe:128 -
message='Request to Stripe api' method=get
url=https://api.stripe.com/v1/checkout/sessions/cs_test_a1eyyqs8VRrwXx3pLnI3nGMCHC2
iSgmxjnba1GjmnVr5fiaaq8WPbvmiJ5\r\n2025-06-23 02:48:04,742 [DEBUG] stripe:121 -
api_version=2025-02-24.acacia message='Post details' post_data=\r\n2025-06-23
02:48:05,074 [DEBUG] urllib3.connectionpool:544 -
https://api.stripe.com:443 \"GET
/v1/checkout/sessions/cs_test_a1eyyqs8VRrwXx3pLnI3nGMCHC2iSgmxjnba1GjmnVr5fiaaq8WPb
vmiJ5 HTTP/1.1\" 200 2742\r\n2025-06-23 02:48:05,074 [INFO] stripe:128 -
message='Stripe API response'
path=https://api.stripe.com/v1/checkout/sessions/cs_test_a1eyyqs8VRrwXx3pLnI3nGMCHC
2iSgmxjnba1GjmnVr5fiaaq8WPbvmiJ5 response_code=200\r\n2025-06-23 02:48:05,074
[DEBUG] stripe:121 - body='{\\
n \"id\": \"cs_test_a1eyyqs8VRrwXx3pLnI3nGMCHC2iSgmxjnba1GjmnVr5fiaaq8WPbvmiJ5\",\
\n \"object\": \"checkout.session\",\\n \"adaptive_pricing\": null,\\
n \"after_expiration\": null,\\n \"allow_promotion_codes\": null,\\
n \"amount_subtotal\": 799,\\n \"amount_total\": 799,\\n \"automatic_tax\": {\\n
\"enabled\": false,\\n \"liability\": null,\\n \"provider\": null,\\
n \"status\": null\\n },\\n \"billing_address_collection\": null,\\
n \"cancel_url\": \"http://localhost:5173/pricing\",\\n \"client_reference_id\":
null,\\n \"client_secret\": null,\\n \"collected_information\": {\\
n \"shipping_details\": null\\n },\\n \"consent\": null,\\
n \"consent_collection\": null,\\n \"created\": 1750625189,\\
n \"currency\": \"usd\",\\n \"currency_conversion\": null,\\n \"custom_fields\":
[],\\n \"custom_text\": {\\n \"after_submit\": null,\\
n \"shipping_address\": null,\\n \"submit\": null,\\
n \"terms_of_service_acceptance\": null\\n },\\
n \"customer\": \"cus_SMQk4CAW9yWsEQ\",\\n \"customer_creation\": null,\\
n \"customer_details\": {\\n \"address\": {\\n \"city\": null,\\
n \"country\": \"BD\",\\n \"line1\": null,\\n \"line2\": null,\\n
\"postal_code\": null,\\n \"state\": null\\n },\\
n \"email\": \"miraz7870@gmail.com\",\\n \"name\": \"4444\",\\n \"phone\":
null,\\n \"tax_exempt\": \"none\",\\n \"tax_ids\": []\\n },\\
n \"customer_email\": null,\\n \"discounts\": [],\\n \"expires_at\":
1750711589,\\n \"invoice\": \"in_1RcuneH5Tnl1Y5UcApspS1iA\",\\
n \"invoice_creation\": null,\\n \"livemode\": false,\\n \"locale\": null,\\
n \"metadata\": {\\n \"email\": \"miraz7870@gmail.com\",\\
n \"tier\": \"pro\",\\n \"userId\": \"OBHDwlMu0mhGXvkVjM2kaBV4qSP2\"\\n },\\
n \"mode\": \"subscription\",\\n \"payment_intent\": null,\\n \"payment_link\":
null,\\n \"payment_method_collection\": \"always\",\\
n \"payment_method_configuration_details\": {\\
n \"id\": \"pmc_1QuPL4H5Tnl1Y5UciGCAMatZ\",\\n \"parent\": null\\n },\\
n \"payment_method_options\": {\\n \"card\": {\\
n \"request_three_d_secure\": \"automatic\"\\n }\\n },\\
n \"payment_method_types\": [\\n \"card\",\\n \"link\",\\n \"cashapp\",\\
n \"amazon_pay\"\\n ],\\n \"payment_status\": \"paid\",\\n \"permissions\":
null,\\n \"phone_number_collection\": {\\n \"enabled\": false\\n },\\
n \"recovered_from\": null,\\n \"saved_payment_method_options\": {\\
n \"allow_redisplay_filters\": [\\n \"always\"\\n ],\\
n \"payment_method_remove\": \"disabled\",\\n \"payment_method_save\": null\\
n },\\n \"setup_intent\": null,\\n \"shipping_address_collection\": null,\\
n \"shipping_cost\": null,\\n \"shipping_details\": null,\\
n \"shipping_options\": [],\\n \"status\": \"complete\",\\n \"submit_type\":
null,\\n \"subscription\": \"sub_1RcuneH5Tnl1Y5UcJ1X4liCV\",\\
n \"success_url\": \"http://localhost:5173/success?
session_id={CHECKOUT_SESSION_ID}&tier=pro\",\\n \"total_details\": {\\
n \"amount_discount\": 0,\\n \"amount_shipping\": 0,\\n \"amount_tax\":
0\\n },\\n \"ui_mode\": \"hosted\",\\n \"url\": null,\\n \"wallet_options\":
null\\n}' message='API response body'\r\n2025-06-23 02:48:05,074 [DEBUG] stripe:121
- link=https://dashboard.stripe.com/test/logs/req_Ai3INugWljA6WS message='Dashboard
link for request'\r\n2025-06-23 02:48:05,076 [INFO] stripe:128 - message='Request
to Stripe api' method=get
url=https://api.stripe.com/v1/subscriptions/sub_1RcuneH5Tnl1Y5UcJ1X4liCV\r\n2025-
06-23 02:48:05,076 [DEBUG] stripe:121 - api_version=2025-02-24.acacia message='Post
details' post_data=\r\n2025-06-23 02:48:05,409 [DEBUG] urllib3.connectionpool:544 -
https://api.stripe.com:443 \"GET /v1/subscriptions/sub_1RcuneH5Tnl1Y5UcJ1X4liCV
HTTP/1.1\" 200 4844\r\n2025-06-23 02:48:05,410 [INFO] stripe:128 - message='Stripe
API response'
path=https://api.stripe.com/v1/subscriptions/sub_1RcuneH5Tnl1Y5UcJ1X4liCV
response_code=200\r\n2025-06-23 02:48:05,410 [DEBUG] stripe:121 - body='{\\
n \"id\": \"sub_1RcuneH5Tnl1Y5UcJ1X4liCV\",\\n \"object\": \"subscription\",\\
n \"application\": null,\\n \"application_fee_percent\": null,\\
n \"automatic_tax\": {\\n \"disabled_reason\": null,\\n \"enabled\":
false,\\n \"liability\": null\\n },\\n \"billing_cycle_anchor\": 1750625258,\\
n \"billing_cycle_anchor_config\": null,\\n \"billing_mode\": {\\
n \"type\": \"classic\"\\n },\\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\": 1750625258,\\n
\"currency\": \"usd\",\\n \"current_period_end\": 1753217258,\\
n \"current_period_start\": 1750625258,\\
n \"customer\": \"cus_SMQk4CAW9yWsEQ\",\\n \"days_until_due\": null,\\
n \"default_payment_method\": \"pm_1RcundH5Tnl1Y5UcCDnxG6NA\",\\
n \"default_source\": null,\\n \"default_tax_rates\": [],\\n \"description\":
null,\\n \"discount\": null,\\n \"discounts\": [],\\n \"ended_at\": null,\\
n \"invoice_settings\": {\\n \"account_tax_ids\": null,\\n \"issuer\": {\\n
\"type\": \"self\"\\n }\\n },\\n \"items\": {\\n \"object\": \"list\",\\n
\"data\": [\\n {\\n \"id\": \"si_SY0pcyuXVl9Jxy\",\\
n \"object\": \"subscription_item\",\\n \"billing_thresholds\":
null,\\n \"created\": 1750625259,\\n \"current_period_end\":
1753217258,\\n \"current_period_start\": 1750625258,\\
n \"discounts\": [],\\n \"metadata\": {},\\n \"plan\": {\\n
\"id\": \"price_1RICfGH5Tnl1Y5Ucizdr9dry\",\\n \"object\": \"plan\",\\n
\"active\": true,\\n \"aggregate_usage\": null,\\n \"amount\":
799,\\n \"amount_decimal\": \"799\",\\n
\"billing_scheme\": \"per_unit\",\\n \"created\": 1745689042,\\n
\"currency\": \"usd\",\\n \"interval\": \"month\",\\
n \"interval_count\": 1,\\n \"livemode\": false,\\
n \"metadata\": {},\\n \"meter\": null,\\n \"nickname\":
null,\\n \"product\": \"prod_RvRd1EdFP92tsP\",\\n \"tiers_mode\":
null,\\n \"transform_usage\": null,\\n \"trial_period_days\":
null,\\n \"usage_type\": \"licensed\"\\n },\\n \"price\":
{\\n \"id\": \"price_1RICfGH5Tnl1Y5Ucizdr9dry\",\\
n \"object\": \"price\",\\n \"active\": true,\\
n \"billing_scheme\": \"per_unit\",\\n \"created\": 1745689042,\\
n \"currency\": \"usd\",\\n \"custom_unit_amount\": null,\\n
\"livemode\": false,\\n \"lookup_key\": null,\\n \"metadata\":
{},\\n \"nickname\": null,\\
n \"product\": \"prod_RvRd1EdFP92tsP\",\\n \"recurring\": {\\n
\"aggregate_usage\": null,\\n \"interval\": \"month\",\\
n \"interval_count\": 1,\\n \"meter\": null,\\
n \"trial_period_days\": null,\\
n \"usage_type\": \"licensed\"\\n },\\
n \"tax_behavior\": \"unspecified\",\\n \"tiers_mode\": null,\\n
\"transform_quantity\": null,\\n \"type\": \"recurring\",\\
n \"unit_amount\": 799,\\n \"unit_amount_decimal\": \"799\"\\n
},\\n \"quantity\": 1,\\
n \"subscription\": \"sub_1RcuneH5Tnl1Y5UcJ1X4liCV\",\\
n \"tax_rates\": []\\n }\\n ],\\n \"has_more\": false,\\
n \"total_count\": 1,\\n \"url\": \"/v1/subscription_items?
subscription=sub_1RcuneH5Tnl1Y5UcJ1X4liCV\"\\n },\\
n \"latest_invoice\": \"in_1RcuneH5Tnl1Y5UcApspS1iA\",\\n \"livemode\": false,\\n
\"metadata\": {\\n \"email\": \"miraz7870@gmail.com\",\\
n \"tier\": \"pro\",\\n \"userId\": \"OBHDwlMu0mhGXvkVjM2kaBV4qSP2\"\\n },\\
n \"next_pending_invoice_item_invoice\": null,\\n \"on_behalf_of\": null,\\
n \"pause_collection\": null,\\n \"payment_settings\": {\\
n \"payment_method_options\": {\\n \"acss_debit\": null,\\
n \"bancontact\": null,\\n \"card\": {\\n \"network\": null,\\n
\"request_three_d_secure\": \"automatic\"\\n },\\n \"customer_balance\":
null,\\n \"konbini\": null,\\n \"sepa_debit\": null,\\
n \"us_bank_account\": null\\n },\\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_1RICfGH5Tnl1Y5Ucizdr9dry\",\\n \"object\": \"plan\",\\
n \"active\": true,\\n \"aggregate_usage\": null,\\n \"amount\": 799,\\n
\"amount_decimal\": \"799\",\\n \"billing_scheme\": \"per_unit\",\\
n \"created\": 1745689042,\\n \"currency\": \"usd\",\\
n \"interval\": \"month\",\\n \"interval_count\": 1,\\n \"livemode\":
false,\\n \"metadata\": {},\\n \"meter\": null,\\n \"nickname\": null,\\n
\"product\": \"prod_RvRd1EdFP92tsP\",\\n \"tiers_mode\": null,\\
n \"transform_usage\": null,\\n \"trial_period_days\": null,\\
n \"usage_type\": \"licensed\"\\n },\\n \"quantity\": 1,\\n \"schedule\":
null,\\n \"start_date\": 1750625258,\\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'\r\n2025-06-23
02:48:05,410 [DEBUG] stripe:121 -
link=https://dashboard.stripe.com/test/logs/req_Hmx3QIw0pNeWTX message='Dashboard
link for request'\r\n2025-06-23 02:48:07,334 [DEBUG] __main__:139 - Fetching
pricing for tier=pro, is_annual=None\r\n2025-06-23 02:48:08,307 [DEBUG]
__main__:151 - Pricing retrieved: tier=pro, price_id=None,
one_time_price_id=price_1RICfGH5Tnl1Y5UcnwNm4Clw, tokens=1500\r\n2025-06-23
02:48:08,307 [DEBUG] __main__:139 - Fetching pricing for tier=pro, is_annual=None\
r\n2025-06-23 02:48:08,767 [DEBUG] __main__:151 - Pricing retrieved: tier=pro,
price_id=None, one_time_price_id=price_1RICfGH5Tnl1Y5UcnwNm4Clw, tokens=1500\r\
n2025-06-23 02:48:10,215 [INFO] __main__:181 - Duplicate batch detected:
user_id=OBHDwlMu0mhGXvkVjM2kaBV4qSP2, tier=pro, batch_type=subscription,
identifier=sub_1RcuneH5Tnl1Y5UcJ1X4liCV\r\n2025-06-23 02:48:11,215 [INFO]
__main__:207 - Allocated 1500 tokens: user_id=OBHDwlMu0mhGXvkVjM2kaBV4qSP2,
tier=pro, total_tokens=2000, batch_type=subscription,
identifier=sub_1RcuneH5Tnl1Y5UcJ1X4liCV\r\n2025-06-23 02:48:11,398 [DEBUG]
urllib3.connectionpool:1049 - Starting new HTTPS connection (1):
oauth2.googleapis.com:443\r\n2025-06-23 02:48:11,604 [DEBUG]
urllib3.connectionpool:544 - https://oauth2.googleapis.com:443 \"POST /token
HTTP/1.1\" 200 None\r\n2025-06-23 02:48:12,171 [INFO] __main__:426 - Session
verified: user_id=OBHDwlMu0mhGXvkVjM2kaBV4qSP2,
session_id=cs_test_a1eyyqs8VRrwXx3pLnI3nGMCHC2iSgmxjnba1GjmnVr5fiaaq8WPbvmiJ5,
tier=pro, tokens=2000\r\n2025-06-23 02:48:12,172 [INFO] __main__:1585 - Completed
action=verify-session, result={'tier': 'pro', 'tokens': 2000, 'expiresAt': '2025-
07-23T02:47:38Z', 'mode': 'subscription', 'isOneTime': False}\r\
n","stdout":"{\"tier\": \"pro\", \"tokens\": 2000, \"expiresAt\": \"2025-07-
23T02:47:38Z\", \"mode\": \"subscription\", \"isOneTime\": false}\r\
n","timestamp":"2025-06-23 02:48:12","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"verify-session succeeded","result":{"expiresAt":"2025-
07-
23T02:47:38Z","isOneTime":false,"mode":"subscription","tier":"pro","tokens":2000},"
timestamp":"2025-06-23 02:48:12","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"debug","message":"Request received","method":"OPTIONS","timestamp":"2025-
06-23 02:48:12","url":"/get-user-tier"}
{"headers":{"accept":"*/*","accept-encoding":"gzip, deflate, br, zstd","accept-
language":"en-US,en;q=0.9,bn;q=0.8","access-control-request-
headers":"authorization","access-control-request-method":"GET","connection":"keep-
alive","host":"localhost:8080","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-
site":"same-site","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:48:12"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:48:12"}
{"level":"debug","message":"Request received","method":"OPTIONS","timestamp":"2025-
06-23 02:48:12","url":"/get-user-tier"}
{"headers":{"accept":"*/*","accept-encoding":"gzip, deflate, br, zstd","accept-
language":"en-US,en;q=0.9,bn;q=0.8","access-control-request-
headers":"authorization","access-control-request-method":"GET","connection":"keep-
alive","host":"localhost:8080","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-
site":"same-site","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:48:12"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:48:12"}
{"level":"debug","message":"Request received","method":"GET","timestamp":"2025-06-
23 02:48:12","url":"/get-user-tier"}
{"headers":{"accept":"application/json","accept-encoding":"gzip, deflate, br,
zstd","accept-language":"en-US,en;q=0.9,bn;q=0.8","authorization":"Bearer
eyJhbGciOiJSUzI1NiIsImtpZCI6IjNiZjA1MzkxMzk2OTEzYTc4ZWM4MGY0MjcwMzM4NjM2NDA2MTBhZGM
iLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiTmluamEiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXN
lcmNvbnRlbnQuY29tL2EvQUNnOG9jS2tQVFdhZDYzMmk5S1plTDUxa2R5WVNFd0p0ZTlFbGZyQkloSEVKRE
1EVVRLX2hRQTg9czk2LWMiLCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vYWljb250Z
W50aHViLWJjZDU0IiwiYXVkIjoiYWljb250ZW50aHViLWJjZDU0IiwiYXV0aF90aW1lIjoxNzUwNTU0ODI1
LCJ1c2VyX2lkIjoiT0JIRHdsTXUwbWhHWHZrVmpNMmthQlY0cVNQMiIsInN1YiI6Ik9CSER3bE11MG1oR1h
2a1ZqTTJrYUJWNHFTUDIiLCJpYXQiOjE3NTA2MjMwMDcsImV4cCI6MTc1MDYyNjYwNywiZW1haWwiOiJtaX
Jhejc4NzBAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZ
XMiOnsiZ29vZ2xlLmNvbSI6WyIxMDE1NzY4MjUwODc1ODU4MTg2NDkiXSwiZW1haWwiOlsibWlyYXo3ODcw
QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.QqBnmvpScZZIevEkWGI
mYieikk8WYUf1rvL-ghIbHZvh5Lt_VoyTI7Gak2vzhfmlOfyDYT-
ixsbuQpJuFavH8sgYepiQt10aQSmcMDV_G295rftlrHiUn1HPH9RN6zw_Z_fE6AbBSRq2RxUJY9q6apVXwS
CDqOx6M4OLj2cUtqu1zZrwcHEqyDJaZ8xaDwkAprBVsAqLKxnZvOd8DWOkf9Q7gu1mdsmr1-
I6rA0z5UMujsqVBdMXsWWVjurCkFRhw-JRCjbAHF9tWPAsQDGkMv2OCzfE5PY-
NKqIPVkW1Jury4pG2hLuzVV1c0fPtzZkDLSpOmHR1lXgTpb7jOcakg","connection":"keep-
alive","host":"localhost:8080","if-none-match":"W/\"14d-
gjukHCUEstmmmBmSUam36i7tXa8\"","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-ch-ua":"\"Google
Chrome\";v=\"137\", \"Chromium\";v=\"137\", \"Not/A)Brand\";v=\"24\"","sec-ch-ua-
mobile":"?0","sec-ch-ua-platform":"\"Windows\"","sec-fetch-dest":"empty","sec-
fetch-mode":"cors","sec-fetch-site":"same-site","user-agent":"Mozilla/5.0 (Windows
NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:48:12"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:48:12"}
{"level":"info","message":"GET /get-user-tier","timestamp":"2025-06-23
02:48:12","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","maxTier":"pro","message":"User tier data
retrieved","timestamp":"2025-06-23
02:48:13","totalTokens":2000,"userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"debug","message":"Request received","method":"GET","timestamp":"2025-06-
23 02:48:13","url":"/get-user-tier"}
{"headers":{"accept":"application/json","accept-encoding":"gzip, deflate, br,
zstd","accept-language":"en-US,en;q=0.9,bn;q=0.8","authorization":"Bearer
eyJhbGciOiJSUzI1NiIsImtpZCI6IjNiZjA1MzkxMzk2OTEzYTc4ZWM4MGY0MjcwMzM4NjM2NDA2MTBhZGM
iLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiTmluamEiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXN
lcmNvbnRlbnQuY29tL2EvQUNnOG9jS2tQVFdhZDYzMmk5S1plTDUxa2R5WVNFd0p0ZTlFbGZyQkloSEVKRE
1EVVRLX2hRQTg9czk2LWMiLCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vYWljb250Z
W50aHViLWJjZDU0IiwiYXVkIjoiYWljb250ZW50aHViLWJjZDU0IiwiYXV0aF90aW1lIjoxNzUwNTU0ODI1
LCJ1c2VyX2lkIjoiT0JIRHdsTXUwbWhHWHZrVmpNMmthQlY0cVNQMiIsInN1YiI6Ik9CSER3bE11MG1oR1h
2a1ZqTTJrYUJWNHFTUDIiLCJpYXQiOjE3NTA2MjMwMDcsImV4cCI6MTc1MDYyNjYwNywiZW1haWwiOiJtaX
Jhejc4NzBAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZ
XMiOnsiZ29vZ2xlLmNvbSI6WyIxMDE1NzY4MjUwODc1ODU4MTg2NDkiXSwiZW1haWwiOlsibWlyYXo3ODcw
QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.QqBnmvpScZZIevEkWGI
mYieikk8WYUf1rvL-ghIbHZvh5Lt_VoyTI7Gak2vzhfmlOfyDYT-
ixsbuQpJuFavH8sgYepiQt10aQSmcMDV_G295rftlrHiUn1HPH9RN6zw_Z_fE6AbBSRq2RxUJY9q6apVXwS
CDqOx6M4OLj2cUtqu1zZrwcHEqyDJaZ8xaDwkAprBVsAqLKxnZvOd8DWOkf9Q7gu1mdsmr1-
I6rA0z5UMujsqVBdMXsWWVjurCkFRhw-JRCjbAHF9tWPAsQDGkMv2OCzfE5PY-
NKqIPVkW1Jury4pG2hLuzVV1c0fPtzZkDLSpOmHR1lXgTpb7jOcakg","connection":"keep-
alive","host":"localhost:8080","if-none-match":"W/\"14d-
gjukHCUEstmmmBmSUam36i7tXa8\"","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-ch-ua":"\"Google
Chrome\";v=\"137\", \"Chromium\";v=\"137\", \"Not/A)Brand\";v=\"24\"","sec-ch-ua-
mobile":"?0","sec-ch-ua-platform":"\"Windows\"","sec-fetch-dest":"empty","sec-
fetch-mode":"cors","sec-fetch-site":"same-site","user-agent":"Mozilla/5.0 (Windows
NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:48:13"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:48:13"}
{"level":"info","message":"GET /get-user-tier","timestamp":"2025-06-23
02:48:13","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","maxTier":"pro","message":"User tier data
retrieved","timestamp":"2025-06-23
02:48:14","totalTokens":2000,"userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"debug","message":"Request received","method":"GET","timestamp":"2025-06-
23 02:48:14","url":"/get-user-tier"}
{"headers":{"accept":"application/json","accept-encoding":"gzip, deflate, br,
zstd","accept-language":"en-US,en;q=0.9,bn;q=0.8","authorization":"Bearer
eyJhbGciOiJSUzI1NiIsImtpZCI6IjNiZjA1MzkxMzk2OTEzYTc4ZWM4MGY0MjcwMzM4NjM2NDA2MTBhZGM
iLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiTmluamEiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXN
lcmNvbnRlbnQuY29tL2EvQUNnOG9jS2tQVFdhZDYzMmk5S1plTDUxa2R5WVNFd0p0ZTlFbGZyQkloSEVKRE
1EVVRLX2hRQTg9czk2LWMiLCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vYWljb250Z
W50aHViLWJjZDU0IiwiYXVkIjoiYWljb250ZW50aHViLWJjZDU0IiwiYXV0aF90aW1lIjoxNzUwNTU0ODI1
LCJ1c2VyX2lkIjoiT0JIRHdsTXUwbWhHWHZrVmpNMmthQlY0cVNQMiIsInN1YiI6Ik9CSER3bE11MG1oR1h
2a1ZqTTJrYUJWNHFTUDIiLCJpYXQiOjE3NTA2MjMwMDcsImV4cCI6MTc1MDYyNjYwNywiZW1haWwiOiJtaX
Jhejc4NzBAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZ
XMiOnsiZ29vZ2xlLmNvbSI6WyIxMDE1NzY4MjUwODc1ODU4MTg2NDkiXSwiZW1haWwiOlsibWlyYXo3ODcw
QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.QqBnmvpScZZIevEkWGI
mYieikk8WYUf1rvL-ghIbHZvh5Lt_VoyTI7Gak2vzhfmlOfyDYT-
ixsbuQpJuFavH8sgYepiQt10aQSmcMDV_G295rftlrHiUn1HPH9RN6zw_Z_fE6AbBSRq2RxUJY9q6apVXwS
CDqOx6M4OLj2cUtqu1zZrwcHEqyDJaZ8xaDwkAprBVsAqLKxnZvOd8DWOkf9Q7gu1mdsmr1-
I6rA0z5UMujsqVBdMXsWWVjurCkFRhw-JRCjbAHF9tWPAsQDGkMv2OCzfE5PY-
NKqIPVkW1Jury4pG2hLuzVV1c0fPtzZkDLSpOmHR1lXgTpb7jOcakg","connection":"keep-
alive","host":"localhost:8080","if-none-match":"W/\"14d-
gjukHCUEstmmmBmSUam36i7tXa8\"","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-ch-ua":"\"Google
Chrome\";v=\"137\", \"Chromium\";v=\"137\", \"Not/A)Brand\";v=\"24\"","sec-ch-ua-
mobile64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:48:14"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:48:14"}
{"level":"info","message":"GET /get-user-tier","timestamp":"2025-06-23
02:48:14","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","maxTier":"pro","message":"User tier data
retrieved","timestamp":"2025-06-23
02:48:15","totalTokens":2000,"userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"debug","message":"Request received","method":"OPTIONS","timestamp":"2025-
06-23 02:55:21","url":"/get-pricing-data"}
{"headers":{"accept":"*/*","accept-encoding":"gzip, deflate, br, zstd","accept-
language":"en-US,en;q=0.9,bn;q=0.8","access-control-request-headers":"content-
type","access-control-request-method":"GET","connection":"keep-
alive","host":"localhost:8080","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-
site":"same-site","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:55:21"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:55:21"}
{"level":"debug","message":"Request received","method":"OPTIONS","timestamp":"2025-
06-23 02:55:21","url":"/get-pricing-data"}
{"headers":{"accept":"*/*","accept-encoding":"gzip, deflate, br, zstd","accept-
language":"en-US,en;q=0.9,bn;q=0.8","access-control-request-headers":"content-
type","access-control-request-method":"GET","connection":"keep-
alive","host":"localhost:8080","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-
site":"same-site","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:55:21"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:55:21"}
{"level":"debug","message":"Request received","method":"GET","timestamp":"2025-06-
23 02:55:21","url":"/get-pricing-data"}
{"headers":{"accept":"*/*","accept-encoding":"gzip, deflate, br, zstd","accept-
language":"en-US,en;q=0.9,bn;q=0.8","connection":"keep-alive","content-
type":"application/json","host":"localhost:8080","if-none-match":"W/\"32a-
G6AMFYoL5xrUurScSzb9bXL6kGc\"","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-ch-ua":"\"Google
Chrome\";v=\"137\", \"Chromium\";v=\"137\", \"Not/A)Brand\";v=\"24\"","sec-ch-ua-
mobile":"?0","sec-ch-ua-platform":"\"Windows\"","sec-fetch-dest":"empty","sec-
fetch-mode":"cors","sec-fetch-site":"same-site","user-agent":"Mozilla/5.0 (Windows
NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:55:21"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:55:21"}
{"level":"info","message":"GET /get-pricing-data","timestamp":"2025-06-23
02:55:21"}
{"level":"info","message":"Python version check
succeeded","path":"D:/projects/craft ai for
hosting/backend/venv/Scripts/python.exe","timestamp":"2025-06-23
02:55:21","version":"Python 3.11.9"}
{"level":"info","message":"Spawning Python process: action=get-pricing-data,
args=D:\\projects\\craft ai for hosting\\backend\\stripe_server.py,
input={\"action\":\"get-pricing-data\"}\n","timestamp":"2025-06-23 02:55:21"}
{"level":"debug","message":"Input to be written to stdin: {\"action\":\"get-
pricing-data\"}","timestamp":"2025-06-23 02:55:21"}
{"level":"info","message":"Wrote input to Python stdin for action=get-pricing-
data","timestamp":"2025-06-23 02:55:21"}
{"level":"info","message":"get-pricing-data Python stderr: 2025-06-23 02:55:28,396
[INFO] __main__:1344 - Completed action=get-pricing-data, result={'pricing':
{'elite': {'tokens': 4500, 'monthly': {'id': 'price_1RICoHH5Tnl1Y5UcSRHtyUIW',
'amount': 1899, 'currency': 'usd'}, 'annual': {'id':
'price_1RIECaH5Tnl1Y5Uc65KalLIj', 'amount': 21192, 'currency': 'usd'}, 'one_time':
{'id': 'price_1R8slUH5Tnl1Y5UcpMejSdPZ', 'amount': 1899, 'currency': 'usd'}},
'pro': {'tokens': 1500, 'monthly': {'id': 'price_1RICfGH5Tnl1Y5Ucizdr9dry',
'amount': 799, 'currency': 'usd'}, 'annual': {'id':
'price_1RIEK6H5Tnl1Y5Uca22Tptty', 'amount': 8917, 'currency': 'usd'}, 'one_time':
{'id': 'price_1RICfGH5Tnl1Y5UcnwNm4Clw', 'amount': 799, 'currency': 'usd'}},
'starter': {'tokens': 500, 'monthly': {'id': 'price_1RICObH5Tnl1Y5UccDEaZq19',
'amount': 399, 'currency': 'usd'}, 'annual': {'id':
'price_1RIEMIH5Tnl1Y5Uc3x7YMTJC', 'amount': 4453, 'currency': 'usd'}, 'one_time':
{'id': 'price_1RICObH5Tnl1Y5UcI9wBI3Mg', 'amount': 399, 'currency':
'usd'}}}}","timestamp":"2025-06-23 02:55:28"}
{"level":"info","message":"get-pricing-data Python stdout: {\"pricing\":
{\"elite\": {\"tokens\": 4500, \"monthly\":
{\"id\": \"price_1RICoHH5Tnl1Y5UcSRHtyUIW\", \"amount\":
1899, \"currency\": \"usd\"}, \"annual\":
{\"id\": \"price_1RIECaH5Tnl1Y5Uc65KalLIj\", \"amount\":
21192, \"currency\": \"usd\"}, \"one_time\":
{\"id\": \"price_1R8slUH5Tnl1Y5UcpMejSdPZ\", \"amount\":
1899, \"currency\": \"usd\"}}, \"pro\": {\"tokens\": 1500, \"monthly\":
{\"id\": \"price_1RICfGH5Tnl1Y5Ucizdr9dry\", \"amount\":
799, \"currency\": \"usd\"}, \"annual\":
{\"id\": \"price_1RIEK6H5Tnl1Y5Uca22Tptty\", \"amount\":
8917, \"currency\": \"usd\"}, \"one_time\":
{\"id\": \"price_1RICfGH5Tnl1Y5UcnwNm4Clw\", \"amount\":
799, \"currency\": \"usd\"}}, \"starter\": {\"tokens\": 500, \"monthly\":
{\"id\": \"price_1RICObH5Tnl1Y5UccDEaZq19\", \"amount\":
399, \"currency\": \"usd\"}, \"annual\":
{\"id\": \"price_1RIEMIH5Tnl1Y5Uc3x7YMTJC\", \"amount\":
4453, \"currency\": \"usd\"}, \"one_time\":
{\"id\": \"price_1RICObH5Tnl1Y5UcI9wBI3Mg\", \"amount\":
399, \"currency\": \"usd\"}}}}","timestamp":"2025-06-23 02:55:28"}
{"code":0,"level":"info","message":"get-pricing-data Python process
exited","stderr":"2025-06-23 02:55:28,396 [INFO] __main__:1344 - Completed
action=get-pricing-data, result={'pricing': {'elite': {'tokens': 4500, 'monthly':
{'id': 'price_1RICoHH5Tnl1Y5UcSRHtyUIW', 'amount': 1899, 'currency': 'usd'},
'annual': {'id': 'price_1RIECaH5Tnl1Y5Uc65KalLIj', 'amount': 21192, 'currency':
'usd'}, 'one_time': {'id': 'price_1R8slUH5Tnl1Y5UcpMejSdPZ', 'amount': 1899,
'currency': 'usd'}}, 'pro': {'tokens': 1500, 'monthly': {'id':
'price_1RICfGH5Tnl1Y5Ucizdr9dry', 'amount': 799, 'currency': 'usd'}, 'annual':
{'id': 'price_1RIEK6H5Tnl1Y5Uca22Tptty', 'amount': 8917, 'currency': 'usd'},
'one_time': {'id': 'price_1RICfGH5Tnl1Y5UcnwNm4Clw', 'amount': 799, 'currency':
'usd'}}, 'starter': {'tokens': 500, 'monthly': {'id':
'price_1RICObH5Tnl1Y5UccDEaZq19', 'amount': 399, 'currency': 'usd'}, 'annual':
{'id': 'price_1RIEMIH5Tnl1Y5Uc3x7YMTJC', 'amount': 4453, 'currency': 'usd'},
'one_time': {'id': 'price_1RICObH5Tnl1Y5UcI9wBI3Mg', 'amount': 399, 'currency':
'usd'}}}}\r\n","stdout":"{\"pricing\": {\"elite\": {\"tokens\": 4500, \"monthly\":
{\"id\": \"price_1RICoHH5Tnl1Y5UcSRHtyUIW\", \"amount\":
1899, \"currency\": \"usd\"}, \"annual\":
{\"id\": \"price_1RIECaH5Tnl1Y5Uc65KalLIj\", \"amount\":
21192, \"currency\": \"usd\"}, \"one_time\":
{\"id\": \"price_1R8slUH5Tnl1Y5UcpMejSdPZ\", \"amount\":
1899, \"currency\": \"usd\"}}, \"pro\": {\"tokens\": 1500, \"monthly\":
{\"id\": \"price_1RICfGH5Tnl1Y5Ucizdr9dry\", \"amount\":
799, \"currency\": \"usd\"}, \"annual\":
{\"id\": \"price_1RIEK6H5Tnl1Y5Uca22Tptty\", \"amount\":
8917, \"currency\": \"usd\"}, \"one_time\":
{\"id\": \"price_1RICfGH5Tnl1Y5UcnwNm4Clw\", \"amount\":
799, \"currency\": \"usd\"}}, \"starter\": {\"tokens\": 500, \"monthly\":
{\"id\": \"price_1RICObH5Tnl1Y5UccDEaZq19\", \"amount\":
399, \"currency\": \"usd\"}, \"annual\":
{\"id\": \"price_1RIEMIH5Tnl1Y5Uc3x7YMTJC\", \"amount\":
4453, \"currency\": \"usd\"}, \"one_time\":
{\"id\": \"price_1RICObH5Tnl1Y5UcI9wBI3Mg\", \"amount\":
399, \"currency\": \"usd\"}}}}\r\n","timestamp":"2025-06-23 02:55:28"}
{"level":"info","message":"get-pricing-data succeeded","result":{"pricing":
{"elite":{"annual":
{"amount":21192,"currency":"usd","id":"price_1RIECaH5Tnl1Y5Uc65KalLIj"},"monthly":
{"amount":1899,"currency":"usd","id":"price_1RICoHH5Tnl1Y5UcSRHtyUIW"},"one_time":
{"amount":1899,"currency":"usd","id":"price_1R8slUH5Tnl1Y5UcpMejSdPZ"},"tokens":450
0},"pro":{"annual":
{"amount":8917,"currency":"usd","id":"price_1RIEK6H5Tnl1Y5Uca22Tptty"},"monthly":
{"amount":799,"currency":"usd","id":"price_1RICfGH5Tnl1Y5Ucizdr9dry"},"one_time":
{"amount":799,"currency":"usd","id":"price_1RICfGH5Tnl1Y5UcnwNm4Clw"},"tokens":1500
},"starter":{"annual":
{"amount":4453,"currency":"usd","id":"price_1RIEMIH5Tnl1Y5Uc3x7YMTJC"},"monthly":
{"amount":399,"currency":"usd","id":"price_1RICObH5Tnl1Y5UccDEaZq19"},"one_time":
{"amount":399,"currency":"usd","id":"price_1RICObH5Tnl1Y5UcI9wBI3Mg"},"tokens":500}
}},"timestamp":"2025-06-23 02:55:28"}
{"level":"debug","message":"Request received","method":"GET","timestamp":"2025-06-
23 02:55:28","url":"/get-pricing-data"}
{"headers":{"accept":"*/*","accept-encoding":"gzip, deflate, br, zstd","accept-
language":"en-US,en;q=0.9,bn;q=0.8","connection":"keep-alive","content-
type":"application/json","host":"localhost:8080","if-none-match":"W/\"32a-
G6AMFYoL5xrUurScSzb9bXL6kGc\"","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-ch-ua":"\"Google
Chrome\";v=\"137\", \"Chromium\";v=\"137\", \"Not/A)Brand\";v=\"24\"","sec-ch-ua-
mobile":"?0","sec-ch-ua-platform":"\"Windows\"","sec-fetch-dest":"empty","sec-
fetch-mode":"cors","sec-fetch-site":"same-site","user-agent":"Mozilla/5.0 (Windows
NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:55:28"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:55:28"}
{"level":"info","message":"GET /get-pricing-data","timestamp":"2025-06-23
02:55:28"}
{"level":"info","message":"Python version check
succeeded","path":"D:/projects/craft ai for
hosting/backend/venv/Scripts/python.exe","timestamp":"2025-06-23
02:55:28","version":"Python 3.11.9"}
{"level":"info","message":"Spawning Python process: action=get-pricing-data,
args=D:\\projects\\craft ai for hosting\\backend\\stripe_server.py,
input={\"action\":\"get-pricing-data\"}\n","timestamp":"2025-06-23 02:55:28"}
{"level":"debug","message":"Input to be written to stdin: {\"action\":\"get-
pricing-data\"}","timestamp":"2025-06-23 02:55:28"}
{"level":"info","message":"Wrote input to Python stdin for action=get-pricing-
data","timestamp":"2025-06-23 02:55:28"}
{"level":"info","message":"get-pricing-data Python stderr: 2025-06-23 02:55:35,832
[INFO] __main__:1344 - Completed action=get-pricing-data, result={'pricing':
{'elite': {'tokens': 4500, 'monthly': {'id': 'price_1RICoHH5Tnl1Y5UcSRHtyUIW',
'amount': 1899, 'currency': 'usd'}, 'annual': {'id':
'price_1RIECaH5Tnl1Y5Uc65KalLIj', 'amount': 21192, 'currency': 'usd'}, 'one_time':
{'id': 'price_1R8slUH5Tnl1Y5UcpMejSdPZ', 'amount': 1899, 'currency': 'usd'}},
'pro': {'tokens': 1500, 'monthly': {'id': 'price_1RICfGH5Tnl1Y5Ucizdr9dry',
'amount': 799, 'currency': 'usd'}, 'annual': {'id':
'price_1RIEK6H5Tnl1Y5Uca22Tptty', 'amount': 8917, 'currency': 'usd'}, 'one_time':
{'id': 'price_1RICfGH5Tnl1Y5UcnwNm4Clw', 'amount': 799, 'currency': 'usd'}},
'starter': {'tokens': 500, 'monthly': {'id': 'price_1RICObH5Tnl1Y5UccDEaZq19',
'amount': 399, 'currency': 'usd'}, 'annual': {'id':
'price_1RIEMIH5Tnl1Y5Uc3x7YMTJC', 'amount': 4453, 'currency': 'usd'}, 'one_time':
{'id': 'price_1RICObH5Tnl1Y5UcI9wBI3Mg', 'amount': 399, 'currency':
'usd'}}}}","timestamp":"2025-06-23 02:55:35"}
{"level":"info","message":"get-pricing-data Python stdout: {\"pricing\":
{\"elite\": {\"tokens\": 4500, \"monthly\":
{\"id\": \"price_1RICoHH5Tnl1Y5UcSRHtyUIW\", \"amount\":
1899, \"currency\": \"usd\"}, \"annual\":
{\"id\": \"price_1RIECaH5Tnl1Y5Uc65KalLIj\", \"amount\":
21192, \"currency\": \"usd\"}, \"one_time\":
{\"id\": \"price_1R8slUH5Tnl1Y5UcpMejSdPZ\", \"amount\":
1899, \"currency\": \"usd\"}}, \"pro\": {\"tokens\": 1500, \"monthly\":
{\"id\": \"price_1RICfGH5Tnl1Y5Ucizdr9dry\", \"amount\":
799, \"currency\": \"usd\"}, \"annual\":
{\"id\": \"price_1RIEK6H5Tnl1Y5Uca22Tptty\", \"amount\":
8917, \"currency\": \"usd\"}, \"one_time\":
{\"id\": \"price_1RICfGH5Tnl1Y5UcnwNm4Clw\", \"amount\":
799, \"currency\": \"usd\"}}, \"starter\": {\"tokens\": 500, \"monthly\":
{\"id\": \"price_1RICObH5Tnl1Y5UccDEaZq19\", \"amount\":
399, \"currency\": \"usd\"}, \"annual\":
{\"id\": \"price_1RIEMIH5Tnl1Y5Uc3x7YMTJC\", \"amount\":
4453, \"currency\": \"usd\"}, \"one_time\":
{\"id\": \"price_1RICObH5Tnl1Y5UcI9wBI3Mg\", \"amount\":
399, \"currency\": \"usd\"}}}}","timestamp":"2025-06-23 02:55:35"}
{"code":0,"level":"info","message":"get-pricing-data Python process
exited","stderr":"2025-06-23 02:55:35,832 [INFO] __main__:1344 - Completed
action=get-pricing-data, result={'pricing': {'elite': {'tokens': 4500, 'monthly':
{'id': 'price_1RICoHH5Tnl1Y5UcSRHtyUIW', 'amount': 1899, 'currency': 'usd'},
'annual': {'id': 'price_1RIECaH5Tnl1Y5Uc65KalLIj', 'amount': 21192, 'currency':
'usd'}, 'one_time': {'id': 'price_1R8slUH5Tnl1Y5UcpMejSdPZ', 'amount': 1899,
'currency': 'usd'}}, 'pro': {'tokens': 1500, 'monthly': {'id':
'price_1RICfGH5Tnl1Y5Ucizdr9dry', 'amount': 799, 'currency': 'usd'}, 'annual':
{'id': 'price_1RIEK6H5Tnl1Y5Uca22Tptty', 'amount': 8917, 'currency': 'usd'},
'one_time': {'id': 'price_1RICfGH5Tnl1Y5UcnwNm4Clw', 'amount': 799, 'currency':
'usd'}}, 'starter': {'tokens': 500, 'monthly': {'id':
'price_1RICObH5Tnl1Y5UccDEaZq19', 'amount': 399, 'currency': 'usd'}, 'annual':
{'id': 'price_1RIEMIH5Tnl1Y5Uc3x7YMTJC', 'amount': 4453, 'currency': 'usd'},
'one_time': {'id': 'price_1RICObH5Tnl1Y5UcI9wBI3Mg', 'amount': 399, 'currency':
'usd'}}}}\r\n","stdout":"{\"pricing\": {\"elite\": {\"tokens\": 4500, \"monthly\":
{\"id\": \"price_1RICoHH5Tnl1Y5UcSRHtyUIW\", \"amount\":
1899, \"currency\": \"usd\"}, \"annual\":
{\"id\": \"price_1RIECaH5Tnl1Y5Uc65KalLIj\", \"amount\":
21192, \"currency\": \"usd\"}, \"one_time\":
{\"id\": \"price_1R8slUH5Tnl1Y5UcpMejSdPZ\", \"amount\":
1899, \"currency\": \"usd\"}}, \"pro\": {\"tokens\": 1500, \"monthly\":
{\"id\": \"price_1RICfGH5Tnl1Y5Ucizdr9dry\", \"amount\":
799, \"currency\": \"usd\"}, \"annual\":
{\"id\": \"price_1RIEK6H5Tnl1Y5Uca22Tptty\", \"amount\":
8917, \"currency\": \"usd\"}, \"one_time\":
{\"id\": \"price_1RICfGH5Tnl1Y5UcnwNm4Clw\", \"amount\":
799, \"currency\": \"usd\"}}, \"starter\": {\"tokens\": 500, \"monthly\":
{\"id\": \"price_1RICObH5Tnl1Y5UccDEaZq19\", \"amount\":
399, \"currency\": \"usd\"}, \"annual\":
{\"id\": \"price_1RIEMIH5Tnl1Y5Uc3x7YMTJC\", \"amount\":
4453, \"currency\": \"usd\"}, \"one_time\":
{\"id\": \"price_1RICObH5Tnl1Y5UcI9wBI3Mg\", \"amount\":
399, \"currency\": \"usd\"}}}}\r\n","timestamp":"2025-06-23 02:55:36"}
{"level":"info","message":"get-pricing-data succeeded","result":{"pricing":
{"elite":{"annual":
{"amount":21192,"currency":"usd","id":"price_1RIECaH5Tnl1Y5Uc65KalLIj"},"monthly":
{"amount":1899,"currency":"usd","id":"price_1RICoHH5Tnl1Y5UcSRHtyUIW"},"one_time":
{"amount":1899,"currency":"usd","id":"price_1R8slUH5Tnl1Y5UcpMejSdPZ"},"tokens":450
0},"pro":{"annual":
{"amount":8917,"currency":"usd","id":"price_1RIEK6H5Tnl1Y5Uca22Tptty"},"monthly":
{"amount":799,"currency":"usd","id":"price_1RICfGH5Tnl1Y5Ucizdr9dry"},"one_time":
{"amount":799,"currency":"usd","id":"price_1RICfGH5Tnl1Y5UcnwNm4Clw"},"tokens":1500
},"starter":{"annual":
{"amount":4453,"currency":"usd","id":"price_1RIEMIH5Tnl1Y5Uc3x7YMTJC"},"monthly":
{"amount":399,"currency":"usd","id":"price_1RICObH5Tnl1Y5UccDEaZq19"},"one_time":
{"amount":399,"currency":"usd","id":"price_1RICObH5Tnl1Y5UcI9wBI3Mg"},"tokens":500}
}},"timestamp":"2025-06-23 02:55:36"}
{"level":"debug","message":"Request received","method":"OPTIONS","timestamp":"2025-
06-23 02:55:41","url":"/create-one-time-payment"}
{"headers":{"accept":"*/*","accept-encoding":"gzip, deflate, br, zstd","accept-
language":"en-US,en;q=0.9,bn;q=0.8","access-control-request-headers":"content-
type","access-control-request-method":"POST","connection":"keep-
alive","host":"localhost:8080","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-
site":"same-site","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:55:41"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:55:41"}
{"level":"debug","message":"Request received","method":"POST","timestamp":"2025-06-
23 02:55:41","url":"/create-one-time-payment"}
{"headers":{"accept":"*/*","accept-encoding":"gzip, deflate, br, zstd","accept-
language":"en-US,en;q=0.9,bn;q=0.8","connection":"keep-alive","content-
length":"103","content-type":"application/
json","host":"localhost:8080","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-ch-ua":"\"Google
Chrome\";v=\"137\", \"Chromium\";v=\"137\", \"Not/A)Brand\";v=\"24\"","sec-ch-ua-
mobile":"?0","sec-ch-ua-platform":"\"Windows\"","sec-fetch-dest":"empty","sec-
fetch-mode":"cors","sec-fetch-site":"same-site","user-agent":"Mozilla/5.0 (Windows
NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:55:41"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:55:41"}
{"level":"info","message":"POST /create-one-time-
payment","tier":"elite","timestamp":"2025-06-23
02:55:43","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"Python version check
succeeded","path":"D:/projects/craft ai for
hosting/backend/venv/Scripts/python.exe","timestamp":"2025-06-23
02:55:43","version":"Python 3.11.9"}
{"level":"info","message":"Spawning Python process: action=create-one-time-payment,
args=D:\\projects\\craft ai for hosting\\backend\\stripe_server.py,
input={\"action\":\"create-one-time-
payment\",\"tier\":\"elite\",\"userId\":\"OBHDwlMu0mhGXvkVjM2kaBV4qSP2\",\"email\":
\"miraz7870@gmail.com\"}\n","timestamp":"2025-06-23 02:55:43"}
{"level":"debug","message":"Input to be written to stdin: {\"action\":\"create-one-
time-
payment\",\"tier\":\"elite\",\"userId\":\"OBHDwlMu0mhGXvkVjM2kaBV4qSP2\",\"email\":
\"miraz7870@gmail.com\"}","timestamp":"2025-06-23 02:55:43"}
{"level":"info","message":"Wrote input to Python stdin for action=create-one-time-
payment","timestamp":"2025-06-23 02:55:43"}
{"level":"info","message":"create-one-time-payment Python stderr: 2025-06-23
02:55:53,227 [INFO] __main__:629 - One-time payment session created:
session_id=cs_test_a1Oj58uqa4dZVpmKfXWKkck1Ukfgo3WImMXrZxF7IDkyyAZtag84xOruqe,
user_id=OBHDwlMu0mhGXvkVjM2kaBV4qSP2, tier=elite","timestamp":"2025-06-23
02:55:53","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"create-one-time-payment Python stdout:
{\"url\":
\"https://checkout.stripe.com/c/pay/cs_test_a1Oj58uqa4dZVpmKfXWKkck1Ukfgo3WImMXrZxF
7IDkyyAZtag84xOruqe#fidkdWxOYHwnPyd1blpxYHZxWjA0VHBVTl1NMFFraTRcMFBmVU5ETHAxd0YxT2d
DT30zXXVQdFdGS3FvMVJxUUBdQlE3Z0hpM0g3S2BuamNdMUBDZk9mPVduNDF1N1NXNE9wNT1qYzBEbkp0NT
VVVEhcRkBIfycpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpY
FVpZGZgbWppYWB3dic%2FcXdwYHgl\"}","timestamp":"2025-06-23
02:55:53","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"create-one-time-payment Python stderr: 2025-06-23
02:55:53,227 [INFO] __main__:1344 - Completed action=create-one-time-payment,
result={'url':
'https://checkout.stripe.com/c/pay/cs_test_a1Oj58uqa4dZVpmKfXWKkck1Ukfgo3WImMXrZxF7
IDkyyAZtag84xOruqe#fidkdWxOYHwnPyd1blpxYHZxWjA0VHBVTl1NMFFraTRcMFBmVU5ETHAxd0YxT2dD
T30zXXVQdFdGS3FvMVJxUUBdQlE3Z0hpM0g3S2BuamNdMUBDZk9mPVduNDF1N1NXNE9wNT1qYzBEbkp0NTV
VVEhcRkBIfycpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpYF
VpZGZgbWppYWB3dic%2FcXdwYHgl'}","timestamp":"2025-06-23
02:55:53","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"code":0,"level":"info","message":"create-one-time-payment Python process
exited","stderr":"2025-06-23 02:55:53,227 [INFO] __main__:629 - One-time payment
session created:
session_id=cs_test_a1Oj58uqa4dZVpmKfXWKkck1Ukfgo3WImMXrZxF7IDkyyAZtag84xOruqe,
user_id=OBHDwlMu0mhGXvkVjM2kaBV4qSP2, tier=elite\r\n2025-06-23 02:55:53,227 [INFO]
__main__:1344 - Completed action=create-one-time-payment, result={'url':
'https://checkout.stripe.com/c/pay/cs_test_a1Oj58uqa4dZVpmKfXWKkck1Ukfgo3WImMXrZxF7
IDkyyAZtag84xOruqe#fidkdWxOYHwnPyd1blpxYHZxWjA0VHBVTl1NMFFraTRcMFBmVU5ETHAxd0YxT2dD
T30zXXVQdFdGS3FvMVJxUUBdQlE3Z0hpM0g3S2BuamNdMUBDZk9mPVduNDF1N1NXNE9wNT1qYzBEbkp0NTV
VVEhcRkBIfycpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpYF
VpZGZgbWppYWB3dic%2FcXdwYHgl'}\r\n","stdout":"{\"url\":
\"https://checkout.stripe.com/c/pay/cs_test_a1Oj58uqa4dZVpmKfXWKkck1Ukfgo3WImMXrZxF
7IDkyyAZtag84xOruqe#fidkdWxOYHwnPyd1blpxYHZxWjA0VHBVTl1NMFFraTRcMFBmVU5ETHAxd0YxT2d
DT30zXXVQdFdGS3FvMVJxUUBdQlE3Z0hpM0g3S2BuamNdMUBDZk9mPVduNDF1N1NXNE9wNT1qYzBEbkp0NT
VVVEhcRkBIfycpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpY
FVpZGZgbWppYWB3dic%2FcXdwYHgl\"}\r\n","timestamp":"2025-06-23
02:55:53","userId":"OBHDwl02:55:53","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"create-one-time-payment succeeded","result":
{"url":"https://checkout.stripe.com/c/pay/cs_test_a1Oj58uqa4dZVpmKfXWKkck1Ukfgo3WIm
MXrZxF7IDkyyAZtag84xOruqe#fidkdWxOYHwnPyd1blpxYHZxWjA0VHBVTl1NMFFraTRcMFBmVU5ETHAxd
0YxT2dDT30zXXVQdFdGS3FvMVJxUUBdQlE3Z0hpM0g3S2BuamNdMUBDZk9mPVduNDF1N1NXNE9wNT1qYzBE
bkp0NTVVVEhcRkBIfycpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2B
rZGdpYFVpZGZgbWppYWB3dic%2FcXdwYHgl"},"timestamp":"2025-06-23
02:55:53","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"debug","message":"Request received","method":"OPTIONS","timestamp":"2025-
06-23 02:56:30","url":"/get-user-tier"}
{"headers":{"accept":"*/*","accept-encoding":"gzip, deflate, br, zstd","accept-
language":"en-US,en;q=0.9,bn;q=0.8","access-control-request-
headers":"authorization","access-control-request-method":"GET","connection":"keep-
alive","host":"localhost:8080","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-
site":"same-site","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:56:30"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:56:30"}
{"level":"debug","message":"Request received","method":"OPTIONS","timestamp":"2025-
06-23 02:56:30","url":"/get-user-tier"}
{"headers":{"accept":"*/*","accept-encoding":"gzip, deflate, br, zstd","accept-
language":"en-US,en;q=0.9,bn;q=0.8","access-control-request-
headers":"authorization","access-control-request-method":"GET","connection":"keep-
alive","host":"localhost:8080","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-
site":"same-site","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:56:30"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:56:30"}
{"level":"debug","message":"Request received","method":"GET","timestamp":"2025-06-
23 02:56:30","url":"/get-user-tier"}
{"headers":{"accept":"application/json","accept-encoding":"gzip, deflate, br,
zstd","accept-language":"en-US,en;q=0.9,bn;q=0.8","authorization":"Bearer
eyJhbGciOiJSUzI1NiIsImtpZCI6IjNiZjA1MzkxMzk2OTEzYTc4ZWM4MGY0MjcwMzM4NjM2NDA2MTBhZGM
iLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiTmluamEiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXN
lcmNvbnRlbnQuY29tL2EvQUNnOG9jS2tQVFdhZDYzMmk5S1plTDUxa2R5WVNFd0p0ZTlFbGZyQkloSEVKRE
1EVVRLX2hRQTg9czk2LWMiLCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vYWljb250Z
W50aHViLWJjZDU0IiwiYXVkIjoiYWljb250ZW50aHViLWJjZDU0IiwiYXV0aF90aW1lIjoxNzUwNTU0ODI1
LCJ1c2VyX2lkIjoiT0JIRHdsTXUwbWhHWHZrVmpNMmthQlY0cVNQMiIsInN1YiI6Ik9CSER3bE11MG1oR1h
2a1ZqTTJrYUJWNHFTUDIiLCJpYXQiOjE3NTA2MjMwMDcsImV4cCI6MTc1MDYyNjYwNywiZW1haWwiOiJtaX
Jhejc4NzBAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZ
XMiOnsiZ29vZ2xlLmNvbSI6WyIxMDE1NzY4MjUwODc1ODU4MTg2NDkiXSwiZW1haWwiOlsibWlyYXo3ODcw
QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.QqBnmvpScZZIevEkWGI
mYieikk8WYUf1rvL-ghIbHZvh5Lt_VoyTI7Gak2vzhfmlOfyDYT-
ixsbuQpJuFavH8sgYepiQt10aQSmcMDV_G295rftlrHiUn1HPH9RN6zw_Z_fE6AbBSRq2RxUJY9q6apVXwS
CDqOx6M4OLj2cUtqu1zZrwcHEqyDJaZ8xaDwkAprBVsAqLKxnZvOd8DWOkf9Q7gu1mdsmr1-
I6rA0z5UMujsqVBdMXsWWVjurCkFRhw-JRCjbAHF9tWPAsQDGkMv2OCzfE5PY-
NKqIPVkW1Jury4pG2hLuzVV1c0fPtzZkDLSpOmHR1lXgTpb7jOcakg","connection":"keep-
alive","host":"localhost:8080","if-none-match":"W/\"14d-
gjukHCUEstmmmBmSUam36i7tXa8\"","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-ch-ua":"\"Google
Chrome\";v=\"137\", \"Chromium\";v=\"137\", \"Not/A)Brand\";v=\"24\"","sec-ch-ua-
mobile":"?0","sec-ch-ua-platform":"\"Windows\"","sec-fetch-dest":"empty","sec-
fetch-mode":"cors","sec-fetch-site":"same-site","user-agent":"Mozilla/5.0 (Windows
NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:56:30"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:56:30"}
{"level":"info","message":"GET /get-user-tier","timestamp":"2025-06-23
02:56:30","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","maxTier":"pro","message":"User tier data
retrieved","timestamp":"2025-06-23
02:56:30","totalTokens":2000,"userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"debug","message":"Request received","method":"GET","timestamp":"2025-06-
23 02:56:30","url":"/get-user-tier"}
{"headers":{"accept":"application/json","accept-encoding":"gzip, deflate, br,
zstd","accept-language":"en-US,en;q=0.9,bn;q=0.8","authorization":"Bearer
eyJhbGciOiJSUzI1NiIsImtpZCI6IjNiZjA1MzkxMzk2OTEzYTc4ZWM4MGY0MjcwMzM4NjM2NDA2MTBhZGM
iLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiTmluamEiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXN
lcmNvbnRlbnQuY29tL2EvQUNnOG9jS2tQVFdhZDYzMmk5S1plTDUxa2R5WVNFd0p0ZTlFbGZyQkloSEVKRE
1EVVRLX2hRQTg9czk2LWMiLCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vYWljb250Z
W50aHViLWJjZDU0IiwiYXVkIjoiYWljb250ZW50aHViLWJjZDU0IiwiYXV0aF90aW1lIjoxNzUwNTU0ODI1
LCJ1c2VyX2lkIjoiT0JIRHdsTXUwbWhHWHZrVmpNMmthQlY0cVNQMiIsInN1YiI6Ik9CSER3bE11MG1oR1h
2a1ZqTTJrYUJWNHFTUDIiLCJpYXQiOjE3NTA2MjMwMDcsImV4cCI6MTc1MDYyNjYwNywiZW1haWwiOiJtaX
Jhejc4NzBAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZ
XMiOnsiZ29vZ2xlLmNvbSI6WyIxMDE1NzY4MjUwODc1ODU4MTg2NDkiXSwiZW1haWwiOlsibWlyYXo3ODcw
QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.QqBnmvpScZZIevEkWGI
mYieikk8WYUf1rvL-ghIbHZvh5Lt_VoyTI7Gak2vzhfmlOfyDYT-
ixsbuQpJuFavH8sgYepiQt10aQSmcMDV_G295rftlrHiUn1HPH9RN6zw_Z_fE6AbBSRq2RxUJY9q6apVXwS
CDqOx6M4OLj2cUtqu1zZrwcHEqyDJaZ8xaDwkAprBVsAqLKxnZvOd8DWOkf9Q7gu1mdsmr1-
I6rA0z5UMujsqVBdMXsWWVjurCkFRhw-JRCjbAHF9tWPAsQDGkMv2OCzfE5PY-
NKqIPVkW1Jury4pG2hLuzVV1c0fPtzZkDLSpOmHR1lXgTpb7jOcakg","connection":"keep-
alive","host":"localhost:8080","if-none-match":"W/\"14d-
gjukHCUEstmmmBmSUam36i7tXa8\"","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-ch-ua":"\"Google
Chrome\";v=\"137\", \"Chromium\";v=\"137\", \"Not/A)Brand\";v=\"24\"","sec-ch-ua-
mobile":"?0","sec-ch-ua-platform":"\"Windows\"","sec-fetch-dest":"empty","sec-
fetch-mode":"cors","sec-fetch-site":"same-site","user-agent":"Mozilla/5.0 (Windows
NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:56:30"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:56:30"}
{"level":"info","message":"GET /get-user-tier","timestamp":"2025-06-23
02:56:30","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","maxTier":"pro","message":"User tier data
retrieved","timestamp":"2025-06-23
02:56:32","totalTokens":2000,"userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"debug","message":"Request received","method":"OPTIONS","timestamp":"2025-
06-23 02:56:32","url":"/verify-session"}
{"headers":{"accept":"*/*","accept-encoding":"gzip, deflate, br, zstd","accept-
language":"en-US,en;q=0.9,bn;q=0.8","access-control-request-headers":"content-
type","access-control-request-method":"POST","connection":"keep-
alive","host":"localhost:8080","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-
site":"same-site","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:56:32"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:56:32"}
{"level":"debug","message":"Request received","method":"POST","timestamp":"2025-06-
23 02:56:32","url":"/verify-session"}
{"headers":{"accept":"*/*","accept-encoding":"gzip, deflate, br, zstd","accept-
language":"en-US,en;q=0.9,bn;q=0.8","connection":"keep-alive","content-
length":"137","content-type":"application/
json","host":"localhost:8080","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-ch-ua":"\"Google
Chrome\";v=\"137\", \"Chromium\";v=\"137\", \"Not/A)Brand\";v=\"24\"","sec-ch-ua-
mobile":"?0","sec-ch-ua-platform":"\"Windows\"","sec-fetch-dest":"empty","sec-
fetch-mode":"cors","sec-fetch-site":"same-site","user-agent":"Mozilla/5.0 (Windows
NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:56:32"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:56:32"}
{"level":"info","message":"POST /verify-
session","sessionId":"cs_test_a1Oj58uqa4dZVpmKfXWKkck1Ukfgo3WImMXrZxF7IDkyyAZtag84x
Oruqe","timestamp":"2025-06-23 02:56:32","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"Python version check
succeeded","path":"D:/projects/craft ai for
hosting/backend/venv/Scripts/python.exe","timestamp":"2025-06-23
02:56:32","version":"Python 3.11.9"}
{"level":"info","message":"Spawning Python process: action=verify-session,
args=D:\\projects\\craft ai
for":\"cs_test_a1Oj58uqa4dZVpmKfXWKkck1Ukfgo3WImMXrZxF7IDkyyAZtag84xOruqe\",\"userI
d\":\"OBHDwlMu0mhGXvkVjM2kaBV4qSP2\",\"tier\":\"elite\"}\n","timestamp":"2025-06-23
02:56:32"}
{"level":"debug","message":"Input to be written to stdin: {\"action\":\"verify-
session\",\"sessionId\":\"cs_test_a1Oj58uqa4dZVpmKfXWKkck1Ukfgo3WImMXrZxF7IDkyyAZta
g84xOruqe\",\"userId\":\"OBHDwlMu0mhGXvkVjM2kaBV4qSP2\",\"tier\":\"elite\"}","times
tamp":"2025-06-23 02:56:32"}
{"level":"info","message":"Wrote input to Python stdin for action=verify-
session","timestamp":"2025-06-23 02:56:32"} VjM2kaBV4qSP2"}
{"level":"info","maxTier":"pro","message":"User tier data
retrieved","timestamp":"2025-06-23
02:56:30","totalTokens":2000,"userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"debug","message":"Request received","method":"GET","timestamp":"2025-06-
23 02:56:30","url":"/get-user-tier"}
{"headers":{"accept":"application/json","accept-encoding":"gzip, deflate, br,
zstd","accept-language":"en-US,en;q=0.9,bn;q=0.8","authorization":"Bearer
eyJhbGciOiJSUzI1NiIsImtpZCI6IjNiZjA1MzkxMzk2OTEzYTc4ZWM4MGY0MjcwMzM4NjM2NDA2MTBhZGM
iLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiTmluamEiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXN
lcmNvbnRlbnQuY29tL2EvQUNnOG9jS2tQVFdhZDYzMmk5S1plTDUxa2R5WVNFd0p0ZTlFbGZyQkloSEVKRE
1EVVRLX2hRQTg9czk2LWMiLCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vYWljb250Z
W50aHViLWJjZDU0IiwiYXVkIjoiYWljb250ZW50aHViLWJjZDU0IiwiYXV0aF90aW1lIjoxNzUwNTU0ODI1
LCJ1c2VyX2lkIjoiT0JIRHdsTXUwbWhHWHZrVmpNMmthQlY0cVNQMiIsInN1YiI6Ik9CSER3bE11MG1oR1h
2a1ZqTTJrYUJWNHFTUDIiLCJpYXQiOjE3NTA2MjMwMDcsImV4cCI6MTc1MDYyNjYwNywiZW1haWwiOiJtaX
Jhejc4NzBAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZ
XMiOnsiZ29vZ2xlLmNvbSI6WyIxMDE1NzY4MjUwODc1ODU4MTg2NDkiXSwiZW1haWwiOlsibWlyYXo3ODcw
QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.QqBnmvpScZZIevEkWGI
mYieikk8WYUf1rvL-ghIbHZvh5Lt_VoyTI7Gak2vzhfmlOfyDYT-
ixsbuQpJuFavH8sgYepiQt10aQSmcMDV_G295rftlrHiUn1HPH9RN6zw_Z_fE6AbBSRq2RxUJY9q6apVXwS
CDqOx6M4OLj2cUtqu1zZrwcHEqyDJaZ8xaDwkAprBVsAqLKxnZvOd8DWOkf9Q7gu1mdsmr1-
I6rA0z5UMujsqVBdMXsWWVjurCkFRhw-JRCjbAHF9tWPAsQDGkMv2OCzfE5PY-
NKqIPVkW1Jury4pG2hLuzVV1c0fPtzZkDLSpOmHR1lXgTpb7jOcakg","connection":"keep-
alive","host":"localhost:8080","if-none-match":"W/\"14d-
gjukHCUEstmmmBmSUam36i7tXa8\"","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-ch-ua":"\"Google
Chrome\";v=\"137\", \"Chromium\";v=\"137\", \"Not/A)Brand\";v=\"24\"","sec-ch-ua-
mobile":"?0","sec-ch-ua-platform":"\"Windows\"","sec-fetch-dest":"empty","sec-
fetch-mode":"cors","sec-fetch-site":"same-site","user-agent":"Mozilla/5.0 (Windows
NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:56:30"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:56:30"}
{"level":"info","message":"GET /get-user-tier","timestamp":"2025-06-23
02:56:30","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","maxTier":"pro","message":"User tier data
retrieved","timestamp":"2025-06-23
02:56:32","totalTokens":2000,"userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"debug","message":"Request received","method":"OPTIONS","timestamp":"2025-
06-23 02:56:32","url":"/verify-session"}
{"headers":{"accept":"*/*","accept-encoding":"gzip, deflate, br, zstd","accept-
language":"en-US,en;q=0.9,bn;q=0.8","access-control-request-headers":"content-
type","access-control-request-method":"POST","connection":"keep-
alive","host":"localhost:8080","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-
site":"same-site","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:56:32"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:56:32"}
{"level":"debug","message":"Request received","method":"POST","timestamp":"2025-06-
23 02:56:32","url":"/verify-session"}
{"headers":{"accept":"*/*","accept-encoding":"gzip, deflate, br, zstd","accept-
language":"en-US,en;q=0.9,bn;q=0.8","connection":"keep-alive","content-
length":"137","content-type":"application/
json","host":"localhost:8080","origin":"http://localhost:5173","referer":"http://
localhost:5173/","sec-ch-ua":"\"Google
Chrome\";v=\"137\", \"Chromium\";v=\"137\", \"Not/A)Brand\";v=\"24\"","sec-ch-ua-
mobile":"?0","sec-ch-ua-platform":"\"Windows\"","sec-fetch-dest":"empty","sec-
fetch-mode":"cors","sec-fetch-site":"same-site","user-agent":"Mozilla/5.0 (Windows
NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0
Safari/537.36"},"level":"debug","message":"Headers","timestamp":"2025-06-23
02:56:32"}
{"body":"No body","level":"debug","message":"Raw Body","timestamp":"2025-06-23
02:56:32"}
{"level":"info","message":"POST /verify-
session","sessionId":"cs_test_a1Oj58uqa4dZVpmKfXWKkck1Ukfgo3WImMXrZxF7IDkyyAZtag84x
Oruqe","timestamp":"2025-06-23 02:56:32","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"level":"info","message":"Python version check
succeeded","path":"D:/projects/craft ai for
hosting/backend/venv/Scripts/python.exe","timestamp":"2025-06-23
02:56:32","version":"Python 3.11.9"}
{"level":"info","message":"Spawning Python process: action=verify-session,
args=D:\\projects\\craft ai
for":\"cs_test_a1Oj58uqa4dZVpmKfXWKkck1Ukfgo3WImMXrZxF7IDkyyAZtag84xOruqe\",\"userI
d\":\"OBHDwlMu0mhGXvkVjM2kaBV4qSP2\",\"tier\":\"elite\"}\n","timestamp":"2025-06-23
02:56:32"}
{"level":"debug","message":"Input to be written to stdin: {\"action\":\"verify-
session\",\"sessionId\":\"cs_test_a1Oj58uqa4dZVpmKfXWKkck1Ukfgo3WImMXrZxF7IDkyyAZta
g84xOruqe\",\"userId\":\"OBHDwlMu0mhGXvkVjM2kaBV4qSP2\",\"tier\":\"elite\"}","times
tamp":"2025-06-23 02:56:32"}
{"level":"info","message":"Wrote input to Python stdin for action=verify-
session","timestamp":"2025-06-23 02:56:32"}
{"code":null,"level":"info","message":"verify-session Python process
exited","stderr":"No stderr","stdout":"No stdout","timestamp":"2025-06-23
02:58:32","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}
{"code":null,"level":"error","message":"verify-session Python script
failed","stderr":"","timestamp":"2025-06-23
02:58:32","userId":"OBHDwlMu0mhGXvkVjM2kaBV4qSP2"}