#Jaxon-Webhook

1 messages · Page 1 of 1 (latest)

civic frigate
#

Hi there, does this error happen in the signature verification? Can you send me the code snippet?

fossil anchor
#

Hi, the issue is the response 401 with firebase. The response is handled with firebase. I'm not sure what the webhook secret is and why it's rejecting it.

civic frigate
#

hmm, but you said you are certain the secret is correct? Did you ever set the webhook secret in your application?

fossil anchor
#

I think I've figured out the issue. It had nothing to do with Stripe but Firebase. Thank you for your time.

civic frigate
#

No problem, happy to know that the problem is resolved.

fossil anchor
#

So I want to create a webhook that get's called whenever a user's payment_intent succeess is called.
My question is: Is there a way to make the user buy a product instead of a dynamic amount.

civic frigate
#

Are you using payment intent or checkout session API?

fossil anchor
#

payment intent

civic frigate
#

OK, the payment intent API doesn't accept price ID. so you need to pass the price amount and use the metadata to store the price ID