コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

【Unity】Amazon AppStore の RevenueCat で「There was a problem with the store.」

概要

_receiveProducts {
    "error": {
        "code": 2,
        "message": "There was a problem with the store.",
        "readableErrorCode": "StoreProblemError",
        "readable_error_code": "StoreProblemError",
        "underlyingErrorMessage": "Failed to get user data. Make sure sandbox mode is enabled if using App Tester. https:\/\/rev.cat\/enter-amazon-sandbox"
    }
}

PurchasesConfiguration.SetUseAmazon( true ) を設定してから
Purchases.PurchaseProduct を実行した時に
上記のエラーが発生する現象に遭遇した。

ライブアプリテストを使用せずに課金を検証しようとしたことが原因だった。