Skip to main content
Question

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

  • 25 September 2023
  • 2 replies
  • 188 views

Forum|alt.badge.img+1

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

Forum|alt.badge.img
  • New Member
  • 1 reply
  • September 25, 2023

Upvote, Im having this problem too!


kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 328 replies
  • September 29, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings