I have a problem with the google play billing. I have an android app consist of in-app purchase there. I maintain the SharedPreference to purchase an app status. If google gave purchase status as success then I maintain boolean value as app purchased.
Problem Scenario: I am a new user for XYZ app, I have paid for premium version. After a successful payment, the app will switch to the premium version. At the same time I go to the google play account and cancel the order. The developer gets 0 price for refunding the price, and as a new user I get a premium version without paying.
Q. How to deal with the purchase status of SKU for google play billing?