Question

Accessing Order Id/Transaction Id

  • 31 August 2021
  • 3 replies
  • 103 views

Badge

I am building an App in Flutter, previously I was using official In app purchase package for iOS and Android. There after purchase we were getting transaction Ids/OrderId but there’s no var available  n PurchaserInfo object after purchase has been made.


3 replies

Userlevel 3
Badge +8

Hey @Rahul!

For cross-platform SDKs, our goal is to abstract in-app purchases as much as possible, and exposing the receipt or transaction IDs / Order IDs is a different process between Android and iOS, making it difficult to make a consistent, cross-platform abstraction for it. Is there a use case for accessing these IDs?

Badge

So, we are trying to integrate with Adjust.  It asks for Transaction ID, and also Reciept from Apple and signature and purchasetoken from Google.  Is there a way to access this data on orders?

Userlevel 3
Badge +8

Hey @Justin Handley 

Have you considered using the RevenueCat <> Adjust integration? Documentation for reference: https://docs.revenuecat.com/docs/adjust Otherwise, if you’re manually integrating with Adjust, you would need to pull this information from the device. 

Reply