Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

Bug Cannot Publish on Any Store because of the Pricing of my InApps

Discussion in 'Unity Distribution Portal (UDP)' started by wagenheimer, Jun 2, 2020.

  1. wagenheimer

    wagenheimer

    Joined:
    Jun 1, 2018
    Posts:
    209
    Hi!

    My game fails to publish on QooApp and Mi GetApps
    because I can't enter with the correct prices for the in-app purchases and I can't update them!

    upload_2020-6-2_9-44-41.png

    In In-App Purchases, I click on "Manage Amounts and Currencies".

    upload_2020-6-2_9-45-14.png

    Then I click on CONVERT and it fails.

    upload_2020-6-2_9-45-37.png

    In QooApp store it failed with "There is something wrong with the in-app purchase pricing in your game, please check it out and resubmit."

    On Mi GetApps it failed with "XIAOMISTORE_PRODUCTION_SYNC_FAILED
    Error: [InvalidParameter] The given parameter is missing or invalid Prices must be between 0.01 and 10,000 (iap.price)".

    Am I doing something wrong?
     

    Attached Files:

  2. wagenheimer

    wagenheimer

    Joined:
    Jun 1, 2018
    Posts:
    209
    I found the problem.

    You should enter the IAP Pricing using dot (.) instead of comma (,)

    1.99, 4.99 and 9.99 instead of 1,99, 4,99 and 9,99.

    After changing it everything worked as expected. It would be nice to show a proper error message because of this, there is a lot of countries that uses comma as decimal separator instead of dots.

    Let's try again the submission to "HUAWEI AppGallery", "Mi Get Apps" and "QooApp Game Store"
     
  3. PJRM

    PJRM

    Joined:
    Mar 4, 2013
    Posts:
    300
    That's a lack of attention from a Frontend developer.
    With javascript, it is easy to use regex to allow the input field to accept only the acceptable character. I think this kind of error past without a pair revision before release.

    Just making a point. Good find @wagenheimer.
     
    wagenheimer likes this.
  4. SamOYUnity3D

    SamOYUnity3D

    Unity Technologies

    Joined:
    May 12, 2019
    Posts:
    388
    Thank you for your feedback, we will check this.
     
  5. SamOYUnity3D

    SamOYUnity3D

    Unity Technologies

    Joined:
    May 12, 2019
    Posts:
    388
    Just confirmed with the team, we have added the feature to check the price format.
    upload_2020-9-24_15-30-27.png
     
    wagenheimer likes this.
  6. Zeeppo-Games

    Zeeppo-Games

    Joined:
    May 13, 2015
    Posts:
    38
    I am having this problem. Early this year I've sent the game with all prices with a comma, in dollars, and everything worked. Now, the same prices return:

    Purchased Finished. ResultCode: -300, message: The given parameter is missing or invalid: invalid price:4,99 with currency:USD at iap:5f68d512ef687400205b1fe3, purchaseInfoString: {"developerPayload":"","gameOrderId":"9fdb905a2d5342b9a7551a228c3264f0","itemType":"inapp","orderQueryToken":"eyJjaGFubmVsUHJvZHVjdElkIjoiZ3VpdGFyYmFuZDAyIiwiY2hhbm5lbFR5cGUiOiJVRFAiLCJjbGllbnRJZCI6IjhKdDJiamRYMmZQcTdzZ0hvTW8yS3ciLCJjcE9yZGVySWQiOiI5ZmRiOTA1YTJkNTM0MmI5YTc1NTFhMjI4YzMyNjRmMCIsInBhY2thZ2VOYW1lIjoiY29tLlplZXBwby5HdWl0YXJCYW5kIn0=","productId":"guitarband02","store":"UDP","storePurchaseJsonString":"{\"cpOrderId\":\"9fdb905a2d5342b9a7551a228c3264f0\",\"developerPayload\":\"\",\"productId\":\"guitarband02\",\"totalAmount\":0}"}
    UnityEngine.UDP.PurchaseForwardCallback:eek:nPurchaseFinished(Int32, String, String)

    If I change the 0,99 price to 0.99, it shows 99 in the game. 4.99 became 499. It works, but the price is wrong.
    Any help here?
    Thanx!
     
  7. SamOYUnity3D

    SamOYUnity3D

    Unity Technologies

    Joined:
    May 12, 2019
    Posts:
    388
    Could you open a Zendesk ticket for this issue? You can describe the problem and attach the client ID of the project and then send it to udpsupport@unity3d.com.
     
unityunity