#alexv3689_code

1 messages · Page 1 of 1 (latest)

unkempt windBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1275798859918082108

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

buoyant basaltBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

ebon skiff
#

hi there!

#

I asked you a question earlier but you never replied.

#

you shared some code. is it working? do you get an error? if so what's the error?

brave scroll
#

i tried but thread got locked

#

what was the question again?

ebon skiff
#

this is a real time chat, so after some inactivity we close threads.

#

you shared some code. is it working? do you get an error? if so what's the error?

brave scroll
#

the error is: Received unknown parameter: meter

ebon skiff
brave scroll
#

it does have under recurring

#

❯ stripe get price_1PqCtGRqWxoSBLrN
{
"id": "price_1PqCtGRqWxoSBLrN",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1724240390,
"currency": "usd",
"custom_unit_amount": null,
"livemode": false,
"lookup_key": "growth_plan_metered_monthly",
"metadata": {},
"nickname": null,
"product": "prod_Qhbk35ZB",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"meter": "mtr_test_61QzZB23opvB7cDNS41RqWx",
"trial_period_days": 30,
"usage_type": "metered"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 240,
"unit_amount_decimal": "240"
}%

ebon skiff
#

this means you just can't update these properties. instead you would need to create a new Price object

unkempt windBOT