#keystoenchancia_code
1 messages ยท Page 1 of 1 (latest)
๐ 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/1343877896548388874
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- keystoenchancia_code, 18 hours ago, 25 messages
- keystoenchancia_api, 19 hours ago, 28 messages
๐ happy to help
thanks so much
what's the request ID?
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
i don't have one as i'm in test mode
even in test mode you have request IDs
or like the fake payment went through but i don't have one from the webhook erroring
you can find it in your dashboard
evt_1QwKQ0C1W3mDzDyROKOZnMD6 this is from the checkout session but is an event ID
these are my logs but it is fallign over still
I'm getting an error on line 89 of this, not sure what is going wrong or why
what's the error?
syntax error, according to Google
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 608, in spawn_worker
worker.init_process()
File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 135, in init_process
self.load_wsgi()
File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 147, in load_wsgi
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python3.9/site-packages/gunicorn/app/base.py", line 66, in wsgi
self.callable = self.load()
File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 57, in load
return self.load_wsgiapp()
File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python3.9/site-packages/gunicorn/util.py", line 370, in import_app
mod = importlib.import_module(module)
File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 846, in exec_module
File "<frozen importlib._bootstrap_external>", line 983, in get_code
File "<frozen importlib._bootstrap_external>", line 913, in source_to_code
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/app/app.py", line 86
{
maybe price_id is an empty string
sorry, this is my first codign project, what would i use instead?
if i want to keep the price the same
i'm trying to anchor the payment to August 1, by using a schedule
so subscribers pay on subcribing and August 1 thereafter and it is the same price
you can copy that price from the existing subscription schedule
so it is the same or do i just not set price and it is assumed that it will be the same?
no you always need to set the price
would you mind sharing your code please?
as text instead of a screenshot
you're missing a comma between the 2 phases
{
"items": [
{
"price": price_id,
"quantity": quantity,
}
],
"start_date": first_phase["start_date"],
"end_date": next_august_1st,
},
{
"items": [
{
"price": price_id,
"quantity": 1,
}
],
"start_date": next_august_1st
}
]```
thank you, i'll build this and see how it goes
ok so i still got a 500 error
{
httpRequest: {14}
insertId: "67bd92e3000abe087e1d036b"
labels: {1}
logName: "projects/artful-wind-449817-f9/logs/run.googleapis.com%2Frequests"
payload: "payloadNotSet"
receiveLocation: "us-central1"
receiveTimestamp: "2025-02-25T09:52:35.708810384Z"
resource: {2}
severity: "ERROR"
spanId: "424e20139546ca3c"
timestamp: "2025-02-25T09:52:32.411312Z"
trace: "projects/artful-wind-449817-f9/traces/3cf927ad1e34b9d541f3353157b7eda1"
traceSampled: true
}