I am sure this has been discussed, but currently my research has not led me to clear definitive instructions on testing your IAP multiple times over.
I’ll discuss what I am seeing during testing, and then breakdown my thoughts. Hopefully the monetization guru’s will point out my error, and provide the correct steps.
Goal: Repeat the billing process flow of an IAP, to ensure that game logic and bugs have been resolved, so the game behaves accordingly, after a successful purchase.
My Purpose: For me, and my games, right now I only provide 1 IAP (Non-Consumable - Remove Ads)
Current Status: I have tested the IAP, and successfully completed the billing process, this assures me the IAP code and calls are working as expected.
Current Problem: I have not been able to retest the IAP, although I have refunded the test order on my developer account in Order Management.
Note to Current Problem: Some things to consider, I understand a Non-Consumable is treated as a 1 time purchase, (which technically means you cannot purchase it again), so this could be having an affect on why my IAP shows purchased when I build and run the app again on my device.
Question To “Current Problem”: Does the logged in, Google Play account and/or Google Play Games account have any affect on the account that did the test purchase?
Question To Above: If “yes”, What are the proper steps, in order to log in to a different test account. What I am seeing is, although I am logging in to Google Play and Google Play Games with a new test account, when I start my app and Game Services logs in, it is using the default account.
My Assumption to above: My assumption is that I can change the account in Google Play to a different licensed test account, and the app would sign in with the current account logged in to Google Play, again, currently this is not happening, it continues to log in to my default account. Also, again, I do not know if the account that is logging in to Google Play Game Services in my hap has anything to do with the IAP test purchase or not.
Question To “Current Problem”: I would also like to know, after you “refund” your test IAP, is there a given amount of time you have to wait prior to re-testing?
My Assumption to above: This could explain why I am seeing the IAP in my game, still initializing as purchased already, even though I have already waited 24+ hours from the last refund. (I also know we are in difficult times right now and even though this shows refunded on my dev account, it could actually be taking longer for this to completely process).
I hope that I have provided enough information, this entire IAP process for me, at least on the Google Play developers side, has been fuzzy, and only has led me to “over-think” and has caused delays in my game release, simply because I am not 100% satisfied my game will respond accordingly upon a successful purchase.
This process imo, should be documented in a detailed step by step process, providing you not only, in order instructions, but what to look for, or expect during this process.
Thank you to everyone’s comments and contributions to this post.
-Larry