Where can I find the original transaction id using UIKit and Paywalls?

  • 30 June 2024
  • 1 reply


I need the original transaction id to send it to backend. We use original transaction id to check whether a used has renewed a subscription or not. I can’t check for renewals in the app because our service works outside the app, even if a user deletes the app. I was using StoreKit and had access to it but I can’t seem to find it when using RevenueCat Paywalls. How can I access the original transaction id?

This post has been closed for comments

1 reply

Userlevel 5
Badge +9

Hi @irmak-5f9246,

When completing a purchase via a RevenueCat paywall, the original transaction ID will be in the storeTransaction parameter of the callback:

requiredEntitlementIdentifier: "pro",
purchaseCompleted: { customerInfo, storeTransaction in
print("Purchase completed: \(customerInfo.entitlements)")

Outside of that, you’ll have to get the original transaction ID by reading the receipt manually. You can use the built in LocalReceiptParsing package in the RevenueCat SDK to get that.