I am using Revenue Cat to set up in app purchases in my React Native app. I want to build an API that extends the susbcription renewal date using the App Store Server API for my iOS users. This is the PUT API call:
https://api.storekit.itunes.apple.com/inApps/v1/subscriptions/extend/{originalTransactionId}
The path parameter includes the originalTransactionId (required, the original transaction identifier of the subscription receiving a renewal date extension). However, I am unable to find the originalTransactionId on Revenue Cat.
Here is the Apple documentation: https://developer.apple.com/documentation/appstoreserverapi/extend_a_subscription_renewal_date
How do I find the originalTransactionId?
Finding originalTransactionId to extend subscription renewal date
Page 1 / 1
Figured out the answer! You have to implement Revenue Cat webhooks: https://www.revenuecat.com/docs/event-types-and-fields
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.