Hi, I setup codeless iap with three items and the committed it to the cloud. After that I try to do android build and deploy it to internal test. When I test the buttons they don’t do anything. I looked in the log and I see that my purchase ids are empty. But I have them in my iap buttons.
Here is my log (I replaced ids in the log for app and user and so on):
04-24 06:30:09.688: E/Unity(27157): The file '/storage/emulated/0/Android/obb/com.futureintellect.spellbound/main.39.com.futureintellect.spellbound.obb/assets/bin/Data/level14' is corrupted! Remove it and launch unity again!
04-24 06:30:09.688: E/Unity(27157): [Position out of bounds!]
04-24 06:30:09.688: E/Unity(27157):
04-24 06:30:09.688: E/Unity(27157): (Filename: Line: 221)
04-24 06:30:09.698: E/Unity(27157): The file '/storage/emulated/0/Android/obb/com.futureintellect.spellbound/main.39.com.futureintellect.spellbound.obb/assets/bin/Data/level14' is corrupted! Remove it and launch unity again!
04-24 06:30:09.698: E/Unity(27157): [Position out of bounds!]
04-24 06:30:09.698: E/Unity(27157):
04-24 06:30:09.698: E/Unity(27157): (Filename: Line: 221)
04-24 06:30:09.698: E/Unity(27157): The file '/storage/emulated/0/Android/obb/com.futureintellect.spellbound/main.39.com.futureintellect.spellbound.obb/assets/bin/Data/level14' is corrupted! Remove it and launch unity again!
04-24 06:30:09.698: E/Unity(27157): [Position out of bounds!]
04-24 06:30:09.698: E/Unity(27157):
04-24 06:30:09.698: E/Unity(27157): (Filename: Line: 221)
04-24 06:30:09.773: I/Unity(27157): UnityIAP Version: 1.18.0
04-24 06:30:09.773: I/Unity(27157):
04-24 06:30:09.773: I/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:09.879: I/UnityIAP(27157): IAB helper created.
04-24 06:30:09.953: I/Unity(27157): File Path: /storage/emulated/0/Android/data/com.futureintellect.spellbound/files/Unity/appid/IAP/store.json
04-24 06:30:09.953: I/Unity(27157):
04-24 06:30:09.953: I/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:09.988: I/Unity(27157): Fetching optimized store details from https://ecommerce.iap.unity3d.com/catalog?appid=appid&deviceid=deviceid&userid=userid
04-24 06:30:09.988: I/Unity(27157):
04-24 06:30:09.988: I/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:10.059: E/Unity(27157): IAPButton productId is empty
04-24 06:30:10.059: E/Unity(27157):
04-24 06:30:10.059: E/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:10.060: W/Unity(27157): The product catalog has no product with the ID ""
04-24 06:30:10.060: W/Unity(27157):
04-24 06:30:10.060: W/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:10.060: E/Unity(27157): IAPButton productId is empty
04-24 06:30:10.060: E/Unity(27157):
04-24 06:30:10.060: E/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:10.060: W/Unity(27157): The product catalog has no product with the ID ""
04-24 06:30:10.060: W/Unity(27157):
04-24 06:30:10.060: W/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:10.060: E/Unity(27157): IAPButton productId is empty
04-24 06:30:10.060: E/Unity(27157):
04-24 06:30:10.060: E/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:10.060: W/Unity(27157): The product catalog has no product with the ID ""
04-24 06:30:10.060: W/Unity(27157):
04-24 06:30:10.060: W/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:10.316: I/Unity(27157): Failed to fetch IAP catalog due to unexpected http status code, attempting to use cache
04-24 06:30:10.316: I/Unity(27157):
04-24 06:30:10.316: I/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:10.341: I/UnityIAP(27157): Starting in-app billing setup.
04-24 06:30:10.370: I/UnityIAP(27157): Billing service connected.
04-24 06:30:10.371: I/UnityIAP(27157): invoking callback
04-24 06:30:10.371: I/UnityIAP(27157): Checking for in-app billing 3 support.
04-24 06:30:10.387: I/UnityIAP(27157): In-app billing version 3 supported for com.futureintellect.spellbound
04-24 06:30:10.389: I/UnityIAP(27157): Subscriptions AVAILABLE.
04-24 06:30:10.391: I/UnityIAP(27157): VR supported.
04-24 06:30:10.392: I/UnityIAP(27157): onIabSetupFinished: 0
04-24 06:30:10.392: I/UnityIAP(27157): Requesting 3 products
04-24 06:30:10.392: I/UnityIAP(27157): QueryInventory: 3
04-24 06:30:10.393: I/UnityIAP(27157): invoking callback
04-24 06:30:10.394: I/UnityIAP(27157): Querying owned items, item type: inapp
04-24 06:30:10.394: I/UnityIAP(27157): Package name: com.futureintellect.spellbound
04-24 06:30:10.395: I/UnityIAP(27157): Calling getPurchases with continuation token: null
04-24 06:30:10.397: I/UnityIAP(27157): Owned items response: 0
04-24 06:30:10.397: I/UnityIAP(27157): Continuation token: null
04-24 06:30:10.397: I/UnityIAP(27157): Querying SKU details.
04-24 06:30:10.415: I/UnityIAP(27157): Querying owned items, item type: subs
04-24 06:30:10.415: I/UnityIAP(27157): Package name: com.futureintellect.spellbound
04-24 06:30:10.415: I/UnityIAP(27157): Calling getPurchases with continuation token: null
04-24 06:30:10.545: I/UnityIAP(27157): Owned items response: 0
04-24 06:30:10.545: I/UnityIAP(27157): Continuation token: null
04-24 06:30:10.545: I/UnityIAP(27157): Querying SKU details.
04-24 06:30:10.554: I/UnityIAP(27157): onQueryInventoryFinished: true
04-24 06:30:10.554: I/UnityIAP(27157): Inventory refresh successful. (response: 0:OK)
04-24 06:30:10.622: I/Unity(27157): UnityIAP: Promo is ready
04-24 06:30:10.622: I/Unity(27157):
04-24 06:30:10.622: I/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:14.362: I/Unity(27157): IAPButton.PurchaseProduct() with product ID:
04-24 06:30:14.362: I/Unity(27157):
04-24 06:30:14.362: I/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:14.365: W/Unity(27157): Unable to purchase unknown product with id: {0}:
04-24 06:30:14.365: W/Unity(27157):
04-24 06:30:14.365: W/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:14.367: I/Unity(27157): Trying to purchase null Product
04-24 06:30:14.367: I/Unity(27157):
04-24 06:30:14.367: I/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:18.043: I/Unity(27157): IAPButton.PurchaseProduct() with product ID:
04-24 06:30:18.043: I/Unity(27157):
04-24 06:30:18.043: I/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:18.043: W/Unity(27157): Unable to purchase unknown product with id: {0}:
04-24 06:30:18.043: W/Unity(27157):
04-24 06:30:18.043: W/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:18.043: I/Unity(27157): Trying to purchase null Product
04-24 06:30:18.043: I/Unity(27157):
04-24 06:30:18.043: I/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:21.230: I/Unity(27157): IAPButton.PurchaseProduct() with product ID:
04-24 06:30:21.230: I/Unity(27157):
04-24 06:30:21.230: I/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:21.230: W/Unity(27157): Unable to purchase unknown product with id: {0}:
04-24 06:30:21.230: W/Unity(27157):
04-24 06:30:21.230: W/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:21.230: I/Unity(27157): Trying to purchase null Product
04-24 06:30:21.230: I/Unity(27157):
04-24 06:30:21.230: I/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-24 06:30:22.803: I/Unity(27157): no messages
04-24 06:30:22.803: I/Unity(27157):
04-24 06:30:22.803: I/Unity(27157): (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Can anyone please help me?