Search Unity

Samsung Unity IAP: Product does not exist in this store.

Discussion in 'Unity IAP' started by pstpetrov, Apr 12, 2021.

  1. pstpetrov

    pstpetrov

    Joined:
    Aug 5, 2012
    Posts:
    21
    I have an app which has been live on Apple/Google for 8 years. I published it on Galaxy Store. I am getting the following error in production which doesn't show up in development and testing: “E9202/6050: Product does not exist in this store”. The error occurs when I try to purchase a non-consumable in the app from the Samsung tablet. The app has a total of 3 IAPs.

    - Unity IAP initializes correctly
    - It is set to target Samsung from the editor
    - In app purchases are obtained correctly during IAP initialization and IDs match

    Attached is the logcat from the production app downloaded from Galaxy Store (not sidel oaded). The app is called "Human Design App" and is available on Galaxy Store in the US.

    IAP gets the in app purchase correctly
    2021-04-12 08:17:14.858 31417-6870/? I/ItemVo: {
    "mItemId": "com.healingshore.samsung.composite",
    "mItemName": "Composite Charts",
    "mItemPrice": 14.99,
    "mItemPriceString": "$14.99",
    "mCurrencyUnit": "$",
    "mCurrencyCode": "USD",
    "mItemDesc": "Composite charts from two natal charts.",
    "mItemImageUrl": "",
    "mItemDownloadUrl": "",
    "mReserved1": "",
    "mReserved2": "",
    "mType": "01",
    "mSubscriptionDurationUnit": "",
    "mSubscriptionDurationMultiplier": ""
    }

    2021-04-12 08:17:15.114 31417-6748/? I/Unity: UnityIAP: Initialization complete with 3 items
    UnityEngine.Purchasing.Promo:provideProductsToAds(HashSet`1, Boolean)
    UnityEngine.Purchasing.JSONStore:OnProductsRetrieved(String)
    System.Action:Invoke()
    UnityEngine.Purchasing.Extension.UnityUtil:Update()

    Buy IAP
    2021-04-12 08:17:21.162 31417-6748/? I/Unity: Purchasing product asynchronously: 'composite_id'
    BillingScript:BuyProductID(String)
    BillingBuyCompositeCharts:OnPress(Boolean)
    UICamera:Notify(GameObject, String, Object)
    UICamera:processRelease(Boolean, Single)
    UICamera:processTouch(Boolean, Boolean)
    UICamera:processTouches()
    UICamera:processEvents()

    Error Message
    2021-04-12 08:17:23.844 31417-6748/? I/Unity: onPurchaseFailedEvent(productId:composite_id message:error: Product does not exist in this store.
    (E9202/6050/com.SineDigital.HumanDesignAppS), message: null)
    UnityEngine.Purchasing.PurchasingManager:OnPurchaseFailed(PurchaseFailureDescription)
    System.Action:Invoke()
    UnityEngine.Purchasing.Extension.UnityUtil:Update()


    C# Billing Script
    private const string CompositeCharts_ID = "composite_id";
    private const string CompositeCharts_ID_Apple = "hdapp.composite.nonconsumable";
    private const string CompositeCharts_ID_Google = "hdapp.composite.one_g";
    private const string CompositeCharts_ID_Samsung = "com.healingshore.samsung.composite";
    .
    .
    builder.AddProduct(CompositeCharts_ID, ProductType.NonConsumable, new IDs(){
    { CompositeCharts_ID_Apple, AppleAppStore.Name },
    { CompositeCharts_ID_Google, GooglePlay.Name },
    { CompositeCharts_ID_Samsung, SamsungApps.Name },
    });
     

    Attached Files:

  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
  3. pstpetrov

    pstpetrov

    Joined:
    Aug 5, 2012
    Posts:
    21
    Jeff, does this mean that Unity IAP doesn't support samsung in app purchases directly? I didn't see this anywhere in the documentation.
     
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Correct, we are updating the documentation and continuing to discuss. But currently, Unity IAP is using an earlier version of the Samsung purchase API, UDP has been updated.
     
  5. pstpetrov

    pstpetrov

    Joined:
    Aug 5, 2012
    Posts:
    21
    Got it thank you!