#tousif-ali_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/1286296236386942986
đ 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.
- tousif-ali_webhooks, 2 hours ago, 17 messages
- tousif-ali_webhooks, 3 hours ago, 3 messages
hi there!
hi
what are you trying to do?
connecting to stripe cli
my client added me to team
and gave access to his stripe account
right now I am on admin role
I can access his stripe via browser
but how to connect stripe cli to my client live account
just run stripe login
and what's the issue?
it always connect me to the test mode
I want to run resend event cli api
there are bunch of faild event I need to resend
got it. then just run the resend comment: https://docs.stripe.com/cli/events/resend with the --live flag
you can also set the --api-key when you run the resend command.
nothing work
You need to pass the --webhook-endpoint flag with the corresponding we_xxx ID of the wbehook you want to send them too
Without that the CLI will try to send the event(s) to the original webhook we tried to deliver to, but I case in this case that delivery never attempted
I need to trigger all pending webhook
I fixed the code on my end that was causing the webhook issue
I know, we spoke earlier. Can you paste the evt_xxx ID here
I just need the one from the screenshot that is failing
Btw you've posted your live secret key here so I'd recommend re-rolling that
I'll delete the screenshot
Try this: stripe resend evt_1PzCHxHme4eKRHHSxHFP1dH3 --live --webhook-endpoint=we_1OfJIKHme4eKRHHSZ0j0wrBk
Yeah maybe, just doing it from memory
stripe events resend evt_1PzCHxHme4eKRHHSxHFP1dH3 --live --webhook-endpoint=we_1OfJIKHme4eKRHHSZ0j0wrBk
I'm guessing that's the ID of your webhook btw
that's the ID of the webhook we originally sent that event to (that failed)
Yes
thanks man it worked
That is expected and irrelevant really. You can just use stripe login and connect to the related account. The --live flag is key
is this same --webhook-endpoint=we_1OfJIKHme4eKRHHSZ0j0wrBk for all event id
I have more than 100s events pending
I don't understand what you're asking me