Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Error upon completion of payment

Author
Message
frosty45
3
Years of Service
User Offline
Joined: 8th Jul 2016
Location:
Posted: 8th Apr 2019 04:02 Edited at: 8th Apr 2019 04:05
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.

frosty45
3
Years of Service
User Offline
Joined: 8th Jul 2016
Location:
Posted: 10th Apr 2019 15:39
Shameless bump.
frosty45
3
Years of Service
User Offline
Joined: 8th Jul 2016
Location:
Posted: 14th Apr 2019 16:10
Can anyone please test the in-app subscriptions to verify it's not just me?
frosty45
3
Years of Service
User Offline
Joined: 8th Jul 2016
Location:
Posted: 11th Sep 2019 11:36
This error still persists in the latest build.
Paul Johnston
TGC Developer
16
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 13th Sep 2019 19:33
This could be a problem if you are using subscription products, in which case you need to call InAppPurchaseAddProductID with type=2 to tell AppGameKit that it is a subscription. Otherwise I'm not sure what could cause that error.
frosty45
3
Years of Service
User Offline
Joined: 8th Jul 2016
Location:
Posted: 16th Sep 2019 02:23
Yeah that fixed it. Could you add that to the documentation? It only has 0 and 1...

https://www.appgamekit.com/documentation/Reference/Extras/InAppPurchaseAddProductID.htm

Quote: " szID - The product ID as specified in iTunes Connect or the Google Play developer console
type - The type of product this is, consumable (1) or non consumable(0)"

Login to post a reply

Server time is: 2019-09-18 12:31:47
Your offset time is: 2019-09-18 12:31:47