I am developing a mobile game by unity iap plug-in.
My Unity version is 5.6.6f2.
I want to upload it to google play store and amazon app store.
I checked normally operation in google play store (window -> Unity IAP -> Android -> Target Google Play)
but after changed target store to amazon(window -> Unity IAP -> Android -> Target Google Play), it's not operation normally.
after UnityPurchasing.Initialize(this, builder) called, there are nothing.
It's not called both OnInitialized and OnPurchaseFailed.
![alt text][1]
so, I can't test IAP for amazon app store.
Anyone Know why?
there are my code
public void InitializePurchasing()
{
if (IsInitialized())
return;
var module = StandardPurchasingModule.Instance();
ConfigurationBuilder builder = ConfigurationBuilder.Instance(module);
for (int i = 0; i < m_itemCodes.Length; i++)
{
string result = m_Identifier + m_itemCodes[i];
builder.AddProduct(result, ProductType.Consumable);
}
UnityPurchasing.Initialize(this, builder);
Debug.Log("InitializePurchasing finish"); }
help me Plz~
[1]: /storage/temp/124456-제목-없음.jpg
↧