Skip to main content
Question

API https://api.revenuecat.com/v1/subscribers/ returns active subscription for the users who failed to renew subscription

  • October 15, 2023
  • 1 reply
  • 34 views

Forum|alt.badge.img+3

As you can see, the user’s subscription is cancelled due to a billing error but the api returns the user still have active subscription. can you guys help me to solve the issue?

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 539 replies
  • October 23, 2023

Hi, in this case if you did not receive an expiration event after the cancellation, then it means this user most likely successfully renewed their subscription. Without seeing this user and their Stripe event history I cannot say for sure why this renewal event is not showing, but it may be that you did not send us the Stripe purchase at the right event. You’ll want to post this receipt to RevenueCat at the checkout.session.completed event: https://www.revenuecat.com/docs/stripe#5-send-stripe-tokens-to-revenuecat

 

If you are posting them at this event, you may want to check this user’s Stripe event history to see if this event is generated for them. If it is not, then you could also send the receipt to RevenueCat for the customer.subscription.created event as well (you can send purchases on both events if you’d like, we will not double-count them).


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