- Home /
How to properly handling iOS/Android IAP-refund in realtime
I am currently using Unity In-App Purchase native service. It works very well and I love it but there are some details that I cannot seek for and have a case to deal with. //Talking on iOS and Android
The use-case i am currently finding a way to handle
step 1 : user buy an IAP non-consumable product
step 2 : user ask for a refund from store
step 3 : user remove internet connection //so that when the app call Initialization, the app it will not be able to check on IAP server whether the IAP product was canceled.
step 4 : he keeps using the app without connect to the internet or relaunch the app
what I know
I can check the status of each product using Product.hadReceipt
the has.Receipt product will be updated to the latest value on app restart
without internet connection there is no way to know that which product was refunded
I have some of questions in my head in purpose to deal with the situation
I want to update the status of product rapidly rather that wait for app restart. Is there anyway to do so?
Does calling Initialize again on UnityPurchasing help this? if so how should I do it, can anyone give me some reference to reinit without undesirable consequence ;-;
Can I force my app to quite after some time of suspension ( may be 30 minutes after the app run on background)
Thank all of you guys for spending your time reading and think of this. ^^
Your answer
Follow this Question
Related Questions
Google IAP: How to tell if a product is purchased? 0 Answers
Update/Refresh screen before IAP InitiatePurchase 0 Answers
how to implement IAP subscription??? 0 Answers
The IAP service currently disabled - Unity Bug 3 Answers
Trying to work out how to store non-consumables with Unitys new IAP plugin (Android, iOS) 0 Answers