Forum PayVault PayVault is not available for non-paid games

Discussion and help relating to the PlayerIO payment solution, PayVault.

PayVault is not available for non-paid games

Postby btafel » April 2nd, 2014, 1:18 pm

Hi, I've just started using Yahoo Games Networks services and I'm running into an issue when try to test the PayVault service.

Any API call that I do i receive this error: PayVault is not available for non-paid games.

Looks like I should have a Plus account or something like that inherited from PlayerIO service, but I find no way to get that service on Yahoo Games Network.

Thanks for your help.
btafel
 
Posts: 7
Joined: April 2nd, 2014, 12:32 pm

Re: PayVault is not available for non-paid games

Postby Henrik » April 2nd, 2014, 11:38 pm

Sorry about that, it's a bug on our end. We'll make it available to all YGN users shortly.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: PayVault is not available for non-paid games

Postby btafel » April 3rd, 2014, 12:08 am

Thanks Henrik for the quick reply. Any idea on timeframe? It is important to know since we are planning our game lunch soon.

Thanks!
btafel
 
Posts: 7
Joined: April 2nd, 2014, 12:32 pm

Re: PayVault is not available for non-paid games

Postby ySandsOfTimey » June 20th, 2014, 12:13 pm

Hi,

I also got this error in my test-canvas. When will this be fixed?

thanks a lot!
ySandsOfTimey
Paid Member
 
Posts: 17
Joined: October 15th, 2013, 6:42 pm

Re: PayVault is not available for non-paid games

Postby btafel » June 20th, 2014, 8:15 pm

I think it is fixed already.... at least it works for me now
btafel
 
Posts: 7
Joined: April 2nd, 2014, 12:32 pm

Re: PayVault is not available for non-paid games

Postby ySandsOfTimey » July 4th, 2014, 11:45 am

Hi,

I still got this error. Might there be anything obvious I could have forgot? Some setting maybe?
ySandsOfTimey
Paid Member
 
Posts: 17
Joined: October 15th, 2013, 6:42 pm

Re: PayVault is not available for non-paid games

Postby btafel » July 4th, 2014, 1:42 pm

if you paste your code I may be able to help
btafel
 
Posts: 7
Joined: April 2nd, 2014, 12:32 pm

Re: PayVault is not available for non-paid games

Postby ySandsOfTimey » July 4th, 2014, 3:17 pm

Hi btafel,

as3-code here:

Code: Select all
var _items:Array = new Array();
_items.push({"itemKey":"doublebomb"});
client.yahoo.payments.showBuyItemsDialog(_items,null,success,error);


success and error are functions, in error I display the PlayerIOError.message

Does that help? Indeed I don't know whether the second parameter can be "null", but all methods in client.yahoo.payments. give me the
"PayVault is not available for non-paid games" message. I added an item with the itemKey "doublebomb" in the settings.

Thanks in advance!
ySandsOfTimey
Paid Member
 
Posts: 17
Joined: October 15th, 2013, 6:42 pm

Re: PayVault is not available for non-paid games

Postby btafel » July 4th, 2014, 4:02 pm

it looks OK.. I think somebody from IO or Yahoo should help here, maybe there is still a bug on their side
btafel
 
Posts: 7
Joined: April 2nd, 2014, 12:32 pm

Re: PayVault is not available for non-paid games

Postby ySandsOfTimey » July 7th, 2014, 9:46 am

Hi all,
I add a complete list of what I have done / how my configuration looks like. Maybe anybody could give me a hint what could be wrong. Of course, help from a IO / Yahoo internal would also be cool :)

PayVault->Configure PayVault
- I have a check at „Enable PayVault for Yahoo!“
- Yahoo! Coin Price Point: „100USD=50,200USD=125“

PayVault->Items
- I added a new Item with the key „doublebomb“ (just for testing purposes)

Settings->Connections
- in „public“ I simply checked every checkbox (Of course I will uncheck some later, but I think it’s easier to test / describe here). So I also have checked all under the „PayVaultItems“ headline :)
- Authentication: Yahoo Games Network

YahooGames->Canvas Setup
- checked: „Enable Canvas“, „Require Login“, „Include User GamerName in UserToken“, „Include User’s Avatar in UserToken“
- Canvas Connection: „public“

By the way: I couldn’t find out why and where I need the „Game Secret“, maybe that does have something to do with my issue?

YahooGames->Payments
- Payment Admin User: I added my userID there. I’m assuming it’s the ID I get in client.yahoo.profiles.myProfile.userId , is that correct?
- PayVault Coin Price Points: „100USD=50,200USD=125“
- Not checked is „Payment Callbacks To My Server“, do I need that?

My Game is hosted on GameFS. I have an Index.html - file which passes a userToken as flashvar to my flash-game. I think this is working, since the authentication is working and I can connect.
To connect, in as3 I do:

Code: Select all
PlayerIO.authenticate(stage, GAME_ID, "public", { userToken: myStage.loaderInfo.parameters.usertoken },null, startOnlineInitialisation, errorOnlineInitialisation);

I get The userID, profilePic, etc. all correct.

What I have also in my .html-file is the following javaScript:

Code: Select all
<script type="text/javascript" id="yahooscript">
            window.YahooGamesSetup = {
                userToken=gup('usertoken'),
                resizeCanvasInterval: 100
            };
         
            // load YahooGames.js
            (function (src, t) {
                document.write('<b>Hello World</b>');
                var s = document.createElement('script');
                s.id = 'yahooscript'; s.type = 'text/javascript';
                s.async = true; s.src = src;
                if (!document.getElementById(s.id)){
                    document.getElementsByTagName(t)[0].appendChild(s)
                }
            } ('//games.yahoo.com/yahoogames.js', 'head'));
</script>


I have read that I need that to display some share dialog and stuff. But the call

Code: Select all
client.yahoo.payments.showBuyItemsDialog

is also not showing anything.

My problem is still the call:

Code: Select all
client.yahoo.payments.showBuyCoinsDialog

or something like:

Code: Select all
var _items:Array = new Array();
_items.push({"itemKey":"doublebomb"});
client.yahoo.payments.showBuyItemsDialog(_items,null,success,error);

it always returns:
"PayVault is not available for non-paid games" in my error-callback.

thanks in advance! I will give anyone who has a hint / can help a lot of bunus-items for my new game when it's done (which will be soon, when I have solved all the problems described here) ;)
ySandsOfTimey
Paid Member
 
Posts: 17
Joined: October 15th, 2013, 6:42 pm

Re: PayVault is not available for non-paid games

Postby ySandsOfTimey » July 7th, 2014, 1:39 pm

SOLVED!

wow, how stupid someone can be: I had to "switch to new pricing plan" in my account. I simply overlooked that option in my account-settings.
I feel a little-bit ashamed but also very happy to have this finally solved :oops:
ySandsOfTimey
Paid Member
 
Posts: 17
Joined: October 15th, 2013, 6:42 pm

Re: PayVault is not available for non-paid games

Postby Henrik » July 13th, 2014, 9:01 pm

Don't feel bad, it's a bit weird for people that signed up before we changed to Yahoo Games Network and are still on the old grandfathered free - and limited - pricing plans, when all the documentation says everything is available for everyone.

Do you still have an issue with ShowSendDialog?
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: PayVault is not available for non-paid games

Postby ySandsOfTimey » July 18th, 2014, 5:29 pm

Hi Henrik,

thanks for your words :)
ySandsOfTimey
Paid Member
 
Posts: 17
Joined: October 15th, 2013, 6:42 pm


Return to PayVault



cron