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.

Author
Message
Parry
AGK Developer
14
Years of Service
User Offline
Joined: 16th Dec 2009
Location: Swampstone
Posted: 17th Nov 2014 21:01
Do we have IAP on OUYA yet in V2?
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 17th Nov 2014 23:02
long time ago!

This was one of the first updates after spine.

ouya also supports other payment methods too iap not required anymore.

Parry
AGK Developer
14
Years of Service
User Offline
Joined: 16th Dec 2009
Location: Swampstone
Posted: 17th Nov 2014 23:21
Thanks, I thought I read somewhere it was already in, but I didn't have any luck searching for it in the forums.
Parry
AGK Developer
14
Years of Service
User Offline
Joined: 16th Dec 2009
Location: Swampstone
Posted: 19th Nov 2014 04:01
A couple questions on OUYA IAP.

InAppPurchaseSetKeys(szData1, szData2);

How/Where do I get a base64 public key for "szData1"? I found the 2nd one, szData2 is your OUYA dev UUID#.

Also can you increase the number of In-App Products? Limit seems to be set to 15.

Thanks
Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 19th Nov 2014 11:08
For Google the base64 key is obtained via the developer console in the specific app. I think it'd be the same for ouya.
I'm not sure if you can increase the # of IAP products. For some reason Paul coded in 15 as the max in java. If you look at the AGKHelper.java file you should be able to find it unless he moved it elsewhere.

@SoftMotion3D - what other payment methods? Something where they obtain keys to unlock content?

SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 19th Nov 2014 14:25
when you have an account setup with ouya you will see your uuid posted in your developer page menu.

for the base 64 key ....once you make a game page without uploading the apk... it lets you download a key file. that key file needs to be converted to a base64key.

i will do a search later today to see how i did it and post back.

the other payment method is to just list your game for sale. no one can download it unless they have purchased it. this is setup in the ouya game setup page but requires you to post a video of the game play first on vimeo.

Parry
AGK Developer
14
Years of Service
User Offline
Joined: 16th Dec 2009
Location: Swampstone
Posted: 19th Nov 2014 14:57 Edited at: 17th Dec 2014 04:03
Thanks Great Information! I did download the key file but since it wasn't regular text I didn't realize that was it.

I found the MAX_PRODUCTS in AGKHelper, I increased it to 60 but haven't tested it out yet.

EDIT: changing max products didnt work. Seems AppGameKit is hardcoded to limits products to 15.
Parry
AGK Developer
14
Years of Service
User Offline
Joined: 16th Dec 2009
Location: Swampstone
Posted: 19th Nov 2014 15:51
SoftMotion3D: I think i managed to decode the key.dar file.

http://base64-encoding.online-domain-tools.com/

Enter the upload file name and hit encode button.

Did u do something simular to this?
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 19th Nov 2014 18:05 Edited at: 19th Nov 2014 18:05
yup it was exactly like that....then copy the text and enter it in with your uuid in that command you posted.

when you upload a game onto ouya you can test it on your ouya device before hitting submit to ouya.

in your menu on the ouya you can select builds and find the game file you uploaded to ouya and download it from there.

from there you can test all your purchase products work before actually submitting it to ouya for distribution.

ouya will still say its charging your credit card when purchases are being tested with your own account but you will never actually get charged for buying your own products.

you can go online to ouyas site and reset any purchases you have made to be able to test again. fyi

Login to post a reply

Server time is: 2024-11-25 11:15:38
Your offset time is: 2024-11-25 11:15:38