Hello,
I'm planing to create unlock able level packs for
Slice Wise
And I'm having Trouble to test-buy the packages.
I know there are some threads which were helpful at some point...
What I already have:
-The Working and signed App for IOS and Google Play
-Apple:
-Uploaded and signed .IPA using the inAppPurchase code from AGK
-Registered InAppPurchase called "com.npgames.slicewise.XXX.XXX"
-There is a yellow dot with a "Ready for transmission" label under Features->InAppPurchase-> and then the registered InAppPurchase.
-Google Play:
-Uploaded and signed .APK using the inAppPurchase code from AGK
-Registered InAppPurchase called "com.npgames.slicewise.XXX.XXX"
-The Status is checked and labeled Active
On IOS I get the message: Unable to Complete your purchase
On Android I get the message: Authentification required. You musst login your Google account
The Code:
if GetDeviceBaseName()="ios" or GetDeviceBaseName()="android"
InAppPurchaseSetKeys("XXX","")
InAppPurchaseSetTitle(getAppName())
InAppPurchaseAddProductID("com.npgames.slicewise.XXX.XXX",0)
InAppPurchaseSetup()
for ID=0 to UnlockWindow.length
if GetInAppPurchaseAvailable(ID) then UnlockID=ID+1
next ID
endif
// ************************in the main loop*********************************
inAppPurchaseActivate(UnlockID) // at this moment UnlockID is 0
while (getInAppPurchaseState()=0)
sync()
endwhile
if (getInAppPurchaseAvailable(UnlockID) = 1)
// product bought by the player
UnlockID=UnlockID+1
SaveSettings("Settings.json")
else
Also I have trouble on IOS sending a file via http commands to my server ...on android it works...
[Edit]
Also I somehow managed to get a very early version of slice wise in production phase and published it accidentally in google play...
now it seems I can't make it undone beside Unpublishing and as I'm not too familiar with the new UI of google play, I can't get the Beta versions published
any time I try to make a Beta version public, the early version in the production phase gets public
I already made an App with IAP in AGKv1 for
Keep In and I already used beta versions in
Diamond Demolition but with the new UI of google play I got confused ^^
[/Edit]
Hope I mentioned everything needed.
Anyone any idea ?