需要一点帮助。我正在制作一个android应用程序,并将Soomla集成到一个简单的“禁止广告”在我的应用程序中购买。我有一个购买按钮,应该做的实际购买通过谷歌。
所发生的是一个从谷歌弹出:“错误认证需要,你必须登录到你的谷歌帐户”。
我认为这是个小问题,但我不明白什么。我是在我的谷歌帐户登录。Soomla的商店正在运营(至少它是这么说的)。我已经启用测试purchase.Im使用我的手机购买ofc。我错过了什么?
public class NoADsButton : MonoBehaviour {
private static bool storeInitialized = false; // prevent store to be initialized twice
void Start () {
if(storeInitialized) return;
SoomlaHighway.Initialize();
StoreEvents.OnSoomlaStoreInitialized += onSoomlaStoreInitialized;
SoomlaStore.Initialize(new SoomlaAssets());
}
public void onSoomlaStoreInitialized() {
storeInitialized = true;
}
public void OnMouseDown(){
StoreInventory.BuyItem("no_ads");
}我所做的项目如soomla示例中所示:
public const string NO_ADDS_PRODUCT_ID = "no_ads";
public static VirtualGood NO_ADS_LTVG = new LifetimeVG(
"No Ads", // name
"No More Ads!", // description
"no_ads", // item id
new PurchaseWithMarket(NO_ADDS_PRODUCT_ID, 0.99)); // the way this virtual good is purchased
}发布于 2015-01-28 12:14:00
这通常发生在发布用于测试的应用程序的过程没有正确完成时。试着仔细阅读谷歌的说明,确保你没有错过任何东西。testing.html#billing-testing-test
https://stackoverflow.com/questions/28079738
复制相似问题