What am I doing wrong here? I set up in-app subscriptions on Google Play and upon completion of purchase I get the error "Purchase Result: IAB returned null purchaseData or dataSignature (response: -1008:Unknown error)". The purchase does go through at least. I'd just like to avoid this random error.
function checkIfSubscriber()
subscriber = 0
if getInAppPurchaseAvailable(0) = 1 or getInAppPurchaseAvailable(1) = 1 or getInAppPurchaseAvailable(2) = 1
subscriber = 1
endif
endfunction
function buyProduct(productID as integer)
inAppPurchaseActivate(productID)
do
if GetInAppPurchaseState() = 1 then exit
sync()
loop
checkIfSubscriber()
endfunction