I m developing an application in which user can purchase auto-renewable subscription. When I m trying to buy the feature, I m sending the receipt to the server and getting the server response as status 0. So buying part is working. But problem occurs when user deletes the application and tries to restore the purchase. Lets say that user has purchased any feature on Mar 30 at 20:30. So there is a corresponding expiration date of only 5 minutes (same date at 20:35). This is because in the sandbox environment a 1 month subscription is compressed to 5 minutes time scale.
How to perform restore transaction and how to test restore transaction in sandbox environment.
Any help would be appreciated.