Thank you for your quick response,
I took the time to test your suggestions, thank you, I even created a second app on GooglePlay to retest the entire process. But nothing, I still have the same error "
Cannot start purchase as IAP setup failed".
Quote: "So the IAP option will only work once you've uploaded the bundle to Google Play"
Thank you, I wasn't sure, so I put it in case it helps to pinpoint the problem...
Quote: "The title you are specifying in 'InAppPurchaseSetTitle()' matches the GooglePlay value exactly (compare your 'getAppName()' result with the app name as it appears in Google Play)."
I double-checked the name, now it corresponds exactly, but no improvement in the problem.
Quote: "The 'InAppPurchaseSetKeys()' value matches the string as displayed in GooglePlay exactly."
Double-checked this too. it seems ok
Normally I have the latest version, but I still tried this solution, but nothing.
message(getAppName())
//In App Purchass Setup
inAppPurchaseSetTitle(getAppName())
InAppPurchaseSetKeys ("******", "" )
InAppPurchaseAddProductID("token0",0)
InAppPurchaseAddProductID("null",2) // Add a second redundant value as type 2
InAppPurchaseSetup()
//--
filename$ = "tokens.datas"
if GetFileExists( filename$ )
if GetInAppPurchaseAvailable2(0) = 0
InAppPurchaseActivate(0)
while GetInAppPurchaseState()=0
sync()
endwhile
PurchaseStat = GetInAppPurchaseAvailable2(0)
while (PurchaseStat < 2)
sync()
endwhile
if PurchaseStat = 4
file = OpenToRead(filename$)
TOKENS=val(Readline(file))
TOKENS = TOKENS+10
CloseFile(file)
file = OpenTowrite( filename$, 0 )
WriteString(file,str(TOKENS))
CloseFile(file)
endif
endif
endif