We are using the Keep with original App User ID option for the restore behaviour, as it seems to be the best option for our business logic. We are handling the RECEIPT_ALREADY_IN_USE error when the user tries to restore a purchase, which indicates that the subscription is already associated with another App User ID.
If this error is thrown, we show a popup asking the user to log in with the email they were logged in with when they purchased the subscription. However, there doesn’t seem to be an easy way to tell the user which email that was, and it’s quite likely they might not remember.
So my question is, how can I get the conflicting App User ID that’s causing the error? We use the RC Firebase extension, so I should have the account details (email) for any App User ID available to share with the user, but how can I get the relevant App User ID?
My guess is that the original_transaction_id would be the correct identifier matching the two App User IDs, but that doesn’t seem to be exposed in any of the RC api endpoints.
