#kinder_webhooks
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/1262599267072213004
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Um it supposes to work. If you forward to a simpler path (ie http://localhost:3009 only) would you see anything from your server?
It will be 404 if your server received it but couldn't find any path
i also have this:
app.use((req, res, next) => {
console.log("message received")
next();
})
soo that i can see any request regardless of the path and the message received is never printed for the trigger events but i will try with http://localhost:3009/
stripe listen --forward-to http://localhost:3009/
Ready! You are using Stripe API Version [2024-06-20]. Your webhook signing secret is whsec_5da0752b83dc2bf5b4c41af11a884d9cb024d53987b70204b1ae1fe672aed851 (^C to quit)
C:\Users\Francisco Lima>stripe trigger invoice.payment_succeeded
Setting up fixture for: customer
Running fixture for: customer
Setting up fixture for: payment_method
Running fixture for: payment_method
Setting up fixture for: invoiceitem
Running fixture for: invoiceitem
Setting up fixture for: invoice
Running fixture for: invoice
Setting up fixture for: invoice_pay
Running fixture for: invoice_pay
Trigger succeeded! Check dashboard for event details.
and on the server i have :
app.post('/', express.raw({type: 'application/json'}), (req, res) =>{
console.log("logging")
} )
Yes I know but your server console log, do you see anything?
nope : / nothing
What does it output on your local server? Could you screenshot that terminal?
Ok, let's try to curl your own server, completely different from stripe cli