#ali-raza_api
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/1288057647408484392
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
@fickle plinth this is my sub_sched_1Q0pL8Hswjr8bdMVBiT4l95j schdule is this is still not updated to subscription
hi! sorry, I don't understand your question or what "issue" you have.
please try to explain in more depth. "here is what I did, this is what I expected to see, this is what I saw instead".
yes
i created Schedule subscription and API respond sub_sched_1Q0pL8Hswjr8bdMVBiT4l95j this id and this will start on 23 SEPTEMBER and this should return now subsciption id but status is showing not started
subscription should starts on "start_date": 1727098827, but still not started
@fickle plinth
1727098827 is Monday, 23 September 2024 13:40:27 which is some hours in the future.
ah sorry, no, it's yesterday.
yes it's yesterday
seems like it did create a subscription, right?
sub_1Q2CW5Hswjr8bdMV0qF2H3DL was created.
https://dashboard.stripe.com/events/evt_1Q2CW6Hswjr8bdMVjuTAth6V shows the event when it was created and the Schedule moved to status: "active",
probably you are looking at the log of the creation of the Schedule object and expecting that to somehow change, instead of retrieving the object from the API/listening to webhooks and looking at those.
then why it's shwoing like this?
because the balance_transaction is null. Hard to say more unless you debug that some more and add some logs and context on when this code executes and on what objects.
can you check?
no. You can check, you are the developer writing this code and can log the exact values that that line of code is executing on.