#liam_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/1326137864764784793
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Are you running the commands in seperate windows/tabs? You need to keep stripe listen running when you call stripe trigger
I am running the two commands in the same terminal window. One after another.
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
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.
Yes