#liam_api

1 messages ยท Page 1 of 1 (latest)

limber impBOT
#

๐Ÿ‘‹ 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/1326137864764784793

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

somber junco
#

Are you running the commands in seperate windows/tabs? You need to keep stripe listen running when you call stripe trigger

worldly mesa
#

I am running the two commands in the same terminal window. One after another.

somber junco
#

Yeah that won't work โ€“ you need to keep stripe listen running in the background. It'll only forward events you trigger whilst that command is running

worldly mesa
#

ahh this is what my CLI looks like at the moment:

liamtomlinson@Liams-MacBook-Air ocean-genesis-express-server % stripe listen --forward-to localhost:3001/api/stripe-webhook

Ready! You are using Stripe API Version [2024-06-20]. Your webhook signing secret is whsec_f81abf21963e12d3fca4409ec287737787fad0d5b73c69537732d0ef130d29e9 (^C to quit)
stripe trigger payment_intent.succeeded

so i should do the second command in a serpate window.

somber junco
#

Yes