#strmzi-webhook-missing

1 messages ยท Page 1 of 1 (latest)

quartz narwhalBOT
#

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.

oblique depot
#

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

brazen grotto
#

How do I add logs to the endpoint if it's not getting hit?

#

I'll try explain it a little better, one sec

oblique depot
#

Yeah the first step is to figure out if your server is being hit at all but looking at your server's own logs

brazen grotto
#

Would the payment_intent.succeeded event be triggered if there is no payment? Like if if the product is free?

oblique depot
#

no

brazen grotto
#

well that makes sense, should have thought of that first lol

#

my bad

oblique depot
#

It's easy to test this in Test mode in seconds and confirm to be sure!

brazen grotto
#

yes true I just didn't think of it

oblique depot
#

no worries!

#

strmzi-webhook-missing

#

Are you using Checkout?

brazen grotto
#

yeah?

oblique depot
brazen grotto
#

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

oblique depot
#

yeah makes sense but really the Event type I said is the right one, and it solves the $0 case too ๐Ÿ™‚