Google Play In App Purchaseの静的な応答をテストしています。GooglePlay Billing Static Responses。認証が必要です。あなたはGoogleアカウントにログインする必要があります
ドキュメント(https://developer.android.com/google/play/billing/billing_testing.html)によると、静的応答テストはapkのアップロードなしで動作するはずです。しかし、認証エラーは発生し続けます。
認証が必要です。あなたのGoogleアカウントにログインする必要があります
私は自分の開発者アカウントでテストしており、ベータテストのオプトインユーザーリストもあります。
私の購入フローコードです。誰にも同様の問題がありますか?
Bundle buyIntentBundle = mService.getBuyIntent(3, mActivity.getPackageName(), _item, "inapp", "test");
PendingIntent pendingIntent = buyIntentBundle.getParcelable("BUY_INTENT");
if (pendingIntent != null)
{
mHelper.launchPurchaseFlow(mActivity, mActivity.getPackageName(), REQUEST_CODE, mPurchaseFinishedListener, "test");
}
else
{
// Cannot purchase
Toast.makeText(mActivity, "purchase failed", Toast.LENGTH_SHORT).show();
}