Forum PayVault client.Yahoo.Payments.ShowBuyCoinsDialog nothing happens

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

client.Yahoo.Payments.ShowBuyCoinsDialog nothing happens

Postby Zanleo » March 25th, 2015, 8:44 am

For Unity i call
Code: Select all
client.Yahoo.Payments.ShowBuyCoinsDialog(
   100,                                                //coinamount
   new Dictionary<string, string>() {                  //dialog arguments
      { "name", "100 Coins" },
      { "description", "100 Coins for your game!" },         
      { "icon", "http://urlToSome.png" },
      { "currency", "usd"}
   },
   delegate(Dictionary<string, string> info)
   {         //success callback
      Debug.Log("Success");
      //Purchase completed
      m_client.PayVault.Refresh(delegate()
      {
         //Vault now contains the new balance
      });
   },
   delegate(PlayerIOError error)
   {
      //Purchase cancelled or failed
      Debug.Log(error);
   });

After it, I expect that will be called any delegate.
But nothing happens.
No exceptions generated when this function is called, some delegate is not called.
How do you know what I'm doing wrong?
Zanleo
 
Posts: 3
Joined: March 19th, 2015, 3:29 pm

Return to PayVault