Question

Stripe webhook integration getting 200's but no handling of event takes place

  • 25 September 2023
  • 2 replies
  • 96 views

Badge

I have followed the guide for setting up the Stripe integration webhook and the webhook 

https://api.revenuecat.com/v1/incoming-webhooks/stripe/<my_revcat_app_id> does receive 200’s. However, no handling of the events are taking place on the revenue cat side for the customers involved in the webhook events. I suspect this may be due to revenuecat not being able to identify from the webhook payload which customer the event pertains to. What additionally needs to be done for this webhook to handle customer subscription updates from the stripe event? Is there a way to see why these events are not being handled?
Thank you

 

 


2 replies

Upvote, Im having this problem too!

Userlevel 4
Badge +6

Hi @charissa-4ee4b6 and @jose-bfd3ee!

Can you confirm that you’re sending your Stripe subscription to RevenueCat through the POST /receipts endpoint? You’ll send this request with all the pertinent data, including app user id: https://www.revenuecat.com/docs/stripe#5-send-stripe-tokens-to-revenuecat

Stripe webhooks only work if the receipt already exists in RevenueCat when the event you’re listening for is dispatched, so I’d recommend making sure that you have a flow that includes sending those purchase tokens in after the purchase is completed. 

Reply