in-app purchases on device switch

Hello, I have a usecase where a

Enduser purchased a video subscription using via inApp from his Apple Device 1 with AppleId1. On Renewal phase lets say the endsuser used a different device Device2 with AppleId2 (but the subscriber Id remains same between the device ).

Now how we can get the latest receipt in device1 (with AppleId1) ? i.e at present the latest receipt for subscription purchase is at device 2 (AppleId2). Is there any option available to synch receipt between different device (when AppIeId is different)

Note: If same AppleId is used during device switch then the latest receipt can be retrieved using restore purchased product (https://developer.apple.com/documentation/storekit/in-app_purchase/original_api_for_in-app_purchase/restoring_purchased_products) . But in the above usecase the appleId is different only the subscriberId to login to the Mobile App alone is same

how we can get the latest receipt in device1

You can't.

Users must not change their Apple ID.

I guess that a user has contacted you to ask for help. Tell the user that they should not have changed their Apple ID, and that you cannot help further. Also, consider the possibility that this is a scam.

in-app purchases on device switch
 
 
Q