Posts

Post not yet marked as solved
1 Replies
167 Views
Hello everyone, I'm currently in the process of updating my code to remove the deprecated verifyReceipt method in line with the latest documentation and guidelines. I have a question regarding the Receipt Usage example provided in the documentation here: https://github.com/apple/app-store-server-library-java?tab=readme-ov-file#receipt-usage ReceiptUtility receiptUtil = new ReceiptUtility(); String transactionId = receiptUtil.extractTransactionIdFromAppReceipt(appReceipt); My question is: Why does this method only return one transactionId? I had assumed that it might return a list of different transaction IDs present in the encoded receipt. Thank you in advance for any assistance! Best regards, Maria
Posted
by mariadab.
Last updated
.
Post not yet marked as solved
1 Replies
134 Views
Hello, I found a user that has two originalTransactionIds for the same subscriptionGroupIdentifier. I thought that: originalTransactionId does not change in case of upgrade/downgrade, cancellation/re-subscribtion user can see only products within single subscription group A, so if there is a subscription group B, user will not use any products from B (so new originalTransactionId will not be created because we're still within same subscription group) I can see for this user that new originalTransactionId was given when transactionReason was PURCHASE and storefrontId, price and currency have changed in comparison to previous RENEWAL transactions. Can new originalTransactionId be given to the user when purchasing subscription from different country than previously? Thanks a lot for clarification, Best regards, Maria
Posted
by mariadab.
Last updated
.