Hi,
We registered with UltimatePay and have completed the PayVault setup as instructed in the docs.
When we try to use the GetBuyCoinsInfo function with ultimatepay as the provider we get the error:
"InvalidPurchaseArguments; You need to set up exchange rates in the admin panel to be able to buy coins through UltimatePay."
Our merchant code, adminpwd, secret phrase, and login are all setup, and our price points line looks like this "100USD=50,500USD=300,1000USD=700,1000EUR=50,1000GBP=50"
We use GetBuyCoinsInfo in this way:
PlayerIOUtility.Instance.client.PayVault.GetBuyCoinsInfo(
"ultimatepay", new System.Collections.Generic.Dictionary<string, string>()
{{"coinamount","50"}, //Purchase arguments
{"currency","USD"},
{"amountdesc" ,"50 Coins"}},
//Success handler
(info) => {
//Pass parameters to javascript...
Debug.Log(info);
},
//Error handler
(e) => Debug.Log("Unable to buy coins" + e)
);