Hi,
I use the function GetBuyCoinsInfo as instructed, with ultimatepay provider.
We've already registered at ultimatepay.
We filled all the exchange rates and coins costs.
when I use
PlayerIOUtility.Instance.client.PayVault.GetBuyCoinsInfo(
"ultimatepay", new System.Collections.Generic.Dictionary<string, string>()
{{"coinamount","1500"}, //Purchase arguments
{"currency","USD"},
{"amountdesc" ,"1500 Coins"}},
//Success handler
(info) => {
//Pass parameters to javascript...
Debug.Log(info);
},
//Error handler
(e) => Debug.Log("Unable to buy coins" + e)
);
I get the error:
InvalidPurchaseArguments; You need to set up exchange rates in the admin panel to be able to buy coins through UltimatePay.
What can be wrong there?