Skip to main content
Question

Can we use the StoreKit transaction observer while having RevenueCat installed?

  • January 13, 2025
  • 1 reply
  • 39 views

Forum|alt.badge.img

I would like to ask if its possible to use the StoreKit transaction observer while having the RevenueCat installed. I know that RevenueCat exposes this observer in the shape of of a delegate or a `AsyncStream` but due to the abstraction layer doesn’t return some of the data (transaction id) we require. 

Currently, we are planning on just using the StoreKit transaction observer to read the transaction id and send it to the backend and have the RevenueCat process the transaction and finish it. 

Will the transaction observer still work with StoreKit? What are the best practices? Any issues I should be aware of. 

Thanks 

This post has been closed for comments

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 590 replies
  • January 22, 2025

Hi, you cannot use the StoreKit transaction observer as RevenueCat uses this and you can only have one active transaction observer at a time. You can get the transaction id from the result of the purchase method directly. Alternatively you can listen to our webhooks or even use our scheduled data exports.

 

 


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