Forum PayVault callback

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

callback

Postby Banderaz » October 1st, 2015, 3:35 pm

Hi

AS3 on the client, test payments work, but there is no callback.

Please tell me that's not right.

client.yahoo.payments.showBuyCoinsDialog(
100,
{
name: "100",
description: "100",
icon: "http://game.example.com/images/coins.gif",
currency: "USD"
},
function(info:Object):void
{
trace( "Purchase completed ");
},
function(e:PlayerIOError):void { });
Banderaz
 
Posts: 10
Joined: October 10th, 2013, 3:19 pm

Re: callback

Postby Guillaume » October 1st, 2015, 3:45 pm

Can you try to add a trace in the Error callback too, and see if there is something fired ?
Guillaume
 
Posts: 277
Joined: March 28th, 2014, 1:59 am
Location: France

Re: callback

Postby Banderaz » October 1st, 2015, 3:54 pm

No callback and no errorCallback
passes payment
Banderaz
 
Posts: 10
Joined: October 10th, 2013, 3:19 pm

Re: callback

Postby Guillaume » October 1st, 2015, 4:19 pm

One important question, are you using Yahoo Payments service, or do you want to integrate a payment workflow in your game but not specifically related to Yahoo (ex: Facebook / iOS / Google Play) ?

If yes, you must use Payvault API, not Yahoo Payment.

If using Yahoo Payment, do you meet the requirement: https://gamesnet.yahoo.net/documentatio ... /payments/

If everything is right, i wish that you will have some answer from PlayerIO/YGN Team.
Guillaume
 
Posts: 277
Joined: March 28th, 2014, 1:59 am
Location: France

Re: callback

Postby Banderaz » October 2nd, 2015, 8:08 am

payment systems work well for Facebook, I get a callback and errorCallback
client.payVault.getBuyCoinsInfo(
"facebookv2",
{
coinamount:coinamountST,
title:nameSt,
description:descriptionSt,
image:"http://game.example.com/images/coins.gif",
currencies:"USD"//USD,EUR
},
function(info:Object):void
{
FB.ui(info, function(data:Object):void {
if (data.status == "completed")
{
trace("Purchase completed ");
}
else
{}
});
},
function(e:PlayerIOError):void
{
trace(" Unable to buy coins! "+e);
}
)



work for Yahoo and payments may be reported error
Upon successful payment no callback
Banderaz
 
Posts: 10
Joined: October 10th, 2013, 3:19 pm


Return to PayVault



cron