Hi there!
I am using this function to purchase products or subscriptions: purchaseProductWith(activity, skuDetails, onError, onSuccess) and I have the following use case: I am trying to purchase a subscription, then immediately after the payment is made, I lose my internet connection. In purchaseProductWith I receive onError → NetworkError, which is ok. Google also sends me an email with the receipt. Then once the internet connection is stable, I am not receiving the Product object from purchaseProductWith → onSuccess, in fact, this method is no longer triggered. If I try to buy again the same subscription it says that I am already subscribed, which is also correct, I already payed for the subscription. The problem is that since we don’t receive back the Product object from purchaseProductWith, we have nothing to send to our server, the server needs this object to validate it with google and to grant the user the necessary permissions to unlock features. We have a lot of clients who have faced this situation and they are not very happy. I tried to find a way to get the Product object but without success. Is this the intended behaviour for purchaseProductWith? Is there another way to get the Product object? Any help is much appreciated.
P.S: I am using purchases for Android version 4.6.1.
Question
Other ways to get the Google Product object after purchase?

This post has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.