#strmzi-webhook-missing
1 messages ยท Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- strmzi-cli-webhooks, 6 days ago, 107 messages
๐ Sorry but this is really vague. The first step will be, as a developer, to add logs to your server and code to figure out what's going on
How do I add logs to the endpoint if it's not getting hit?
I'll try explain it a little better, one sec
Yeah the first step is to figure out if your server is being hit at all but looking at your server's own logs
Would the payment_intent.succeeded event be triggered if there is no payment? Like if if the product is free?
no
It's easy to test this in Test mode in seconds and confirm to be sure!
yes true I just didn't think of it
yeah?
You should use checkout.session.completed in that case and not payment_intent_succeeded. See https://stripe.com/docs/payments/checkout/fulfill-orders
Alright will have a look. I thought checkout.session.completed would still allow for the bank to not approve the payment, so I went with payment_intent_succeeded. The reason I messed up was because I wanted to test it in production just to be sure, so to not have to pull out my wallet I put the price to 0
yeah makes sense but really the Event type I said is the right one, and it solves the $0 case too ๐