Forum General Canvas Setup Questions

Any issues or discussions relating to Unity development are welcome here.

Canvas Setup Questions

Postby MechanistGames » May 15th, 2014, 11:06 am

Hello there,

I'm trying to integrate our game to Yahoo Games Network, but got some issues during the first steps, here I listed what I want to know:

1. Following the instructions, we clicked "Enable Canvs" and asaw a Secure Canvas Host that requires a link. After putting up a link there, I hit the Test button, but seems like it didn't work:

Image
Image.

2. I failed to select any connection, not sure what I missed.

Image

3. How can I know php codes for what I've quoted below?

var parts = getQueryString("usertoken").split(".")
var jsonBytes = base64urlDecode(parts[0])
var userInfo = parseJSON(jsonBytes)
var auth = base64urlDecode(parts[1])

if (userinfo.expires > getCurrentUnixTime()) {
if (userinfo.version == "V1_HMACSHA256") {
var auth = hmacSha256(getUtf8Bytes(gameSecret), jsonBytes)
if (jsonBytes == auth) {
// User is valid. Continue.
} else {
error("invalid usertoken auth")
}
} else {
error("unknown usertoken version: " + userinfo.version)
}
} else {
error("the token has expired");
}

I'm new to Yahoo Games Network, any help would be kindly appreciated. Thanks in advance.
MechanistGames
 
Posts: 4
Joined: April 2nd, 2014, 4:25 pm

Re: Canvas Setup Questions

Postby Henrik » May 16th, 2014, 5:21 pm

Under Settings for your game, you can change the authentication type for your public Connection to Yahoo, then you should be able to save your canvas settings. When they are saved, you can click the "Test Canvas" button and it should work properly.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: Canvas Setup Questions

Postby MechanistGames » May 19th, 2014, 8:52 am

Henrik wrote:Under Settings for your game, you can change the authentication type for your public Connection to Yahoo, then you should be able to save your canvas settings. When they are saved, you can click the "Test Canvas" button and it should work properly.

Thanks, it works now. How can we submit the Canvas page?

As for payment, if we don't use PayVaul service, could you point me out the instructions to integrate?
MechanistGames
 
Posts: 4
Joined: April 2nd, 2014, 4:25 pm

Re: Canvas Setup Questions

Postby Henrik » May 20th, 2014, 7:10 pm

You submit your game for consideration by emailing the address on this page:

https://gamesnet.yahoo.com/documentation/yahoo/

Payment integration documentation is here:

https://gamesnet.yahoo.com/documentatio ... /payments/
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: Canvas Setup Questions

Postby MechanistGames » May 23rd, 2014, 11:43 am

Henrik wrote:You submit your game for consideration by emailing the address on this page:

https://gamesnet.yahoo.com/documentation/yahoo/

Payment integration documentation is here:

https://gamesnet.yahoo.com/documentatio ... /payments/

Thanks, will do.
MechanistGames
 
Posts: 4
Joined: April 2nd, 2014, 4:25 pm

Re: Canvas Setup Questions

Postby MechanistGames » May 26th, 2014, 6:41 am

Henrik wrote:You submit your game for consideration by emailing the address on this page:

https://gamesnet.yahoo.com/documentation/yahoo/

Payment integration documentation is here:

https://gamesnet.yahoo.com/documentatio ... /payments/

Usually how long can I receive an update after emailing?
MechanistGames
 
Posts: 4
Joined: April 2nd, 2014, 4:25 pm


Return to General