Hi there,
I'm trying to use transaction id as database primary key when I store an IAP transaction on my server, I just want to make sure that this ID is globally unique so I wouldn't run into weird verification failure on my server.
Thanks a lot!
Hi there,
I'm trying to use transaction id as database primary key when I store an IAP transaction on my server, I just want to make sure that this ID is globally unique so I wouldn't run into weird verification failure on my server.
Thanks a lot!
There are two transactionIdentifiers - the one that comes with the particular purchase and the one in the purchase receipt. Any call to updatedTransactions, including the call when you originally purchase the IAP, has a transaction.transactionIdentifier that is always unique. When you originally purchase an IAP or when you repurchase an IAP for free or when you restore an IAP the receipt will also contain the "unique" transaction_id of the original purchase transaction.transactionIdentifier.