Skip to main content

In the docs of https://www.revenuecat.com/docs/api-v2#tag/Purchase, it requires purchaseId which seems to be missing from the react native SDK?

I have tried using both transactionIds in customer info and in the transaction object but it the api fails to return so. Is this because the IDs are only in sandbox/test purchases in Android?

 

 

Using the get all https://www.revenuecat.com/docs/api-v2#tag/Customer/operation/list-subscriptions is less than ideal when one user has multiple purchases.

Hi! The purchase_id does not refer to the transaction identifier from the store, but is an ID generated by RevenueCat and is not included in the SDK. If you are using our webhooks to notify your backend, I would recommend using the store transaction_id in order to match it with the response from the API.


Reply