the item you requested is not available for purchase

前端 未结 17 1293
陌清茗
陌清茗 2020-11-28 20:19

I\'m trying to integrate Android Market in-app purchases into my app, but unfortunately coming across an annoying error every time I try to purchase a real inapp product.

17条回答
  •  一整个雨季
    2020-11-28 20:37

    While purchasing an in-app subscription, I had all the things from below list at the right place.

    1. Created signed apk and published to alpha channel

    2. Added tester email ids to license testing

    3. Added tester email ids to closed track alpha testing

    4. Opted in to be a tester

    5. Testing Id was different from developer account's id

    6. Was on android device and not on emulator

    7. Downloaded the app from play store

    Still I was getting this error saying "Item you were looking for could not be found".

    After wasting 2-3 days I found out that it was only working if some payment mode was setup in play store.

    While most of the answers are related to old IAB purchase and I implemented new billing client API which is - implementation 'com.android.billingclient:billing:1.0', it was not easy to find out the solution.

    If this is the same case for some one, adding a payment mode might help you to overcome this error. You need to add one even for testing it, however, it will not be charged for email ids added as a license testers.

提交回复
热议问题