以下の内容はhttps://baba-s.hatenablog.com/entry/2024/06/06/091513より取得しました。


【Unity】Android の RevenueCat で「購入しようとしたアイテムが見つかりませんでした。」

概要

_makePurchase {
    "error": {
        "code": 5,
        "message": "The product is not available for purchase.",
        "readableErrorCode": "ProductNotAvailableForPurchaseError",
        "readable_error_code": "ProductNotAvailableForPurchaseError",
        "underlyingErrorMessage": "Error updating purchases. DebugMessage: . ErrorCode: ITEM_UNAVAILABLE.",
        "userCancelled": false
    },
    "userCancelled": false
}

Google Play のサンドボックス環境で RevenueCat の
Purchases.PurchaseProduct を実行した時に
上記のエラーが発生する現象に遭遇した。

ライセンステスターのアカウントでログインしていないことが原因だった。

ライセンステスターのアカウントでログインしたら正常に購入できた。




以上の内容はhttps://baba-s.hatenablog.com/entry/2024/06/06/091513より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14