Hi,
My corona app is working perfectly and in Apps purchases are also handled correctly but some issues have raised related to restoring in app purchases. Like user has given feedback about freezing the app when they try to restore in app purchases or app asks for Apple ID when tapped on restore button and nothing happens afterwards.
Now I am handling restoring in app purchases like this.
elseif (trans.state == "restored") then if (trans.productIdentifier == productID[1]) then --item1 --give something to user elseif (trans.productIdentifier == productID[2]) then --item2 --give something to user elseif (trans.productIdentifier == productID[3]) then --item3 --give something to user end
Here productID is an array containing list of product id’s for in apps
Now I am little uncertain that should I be using
trans.originalIdentifier instead of trans.productIdentifier or there is soemthing else wrong with code.
Please help
Thanks