in-app-billing

Error You Already Own This Item

人盡茶涼 提交于 2021-01-27 17:46:44
问题 I have a new android app in which I am adding in-app billing and I am tearing my hair out with frustration. I have uploaded a signed APK and published to alpha. I created a set of in-app products and activated them all. I have created a new gmail account and defined them as a tester for the app on the app apk page. I have factory reset my android phone and initialised it with the new gmail account. I have entered the /apps/testing link in to chrome and signed up as a tester. I then downloaded

Upgrade new Google Play Console has effect to app's license key is available in the Play Console

北战南征 提交于 2021-01-24 08:33:25
问题 All developers will get the new Google Play Console on November 2, 2020 enter link description here. Is App's license key is available in the Play Console effect? Please help me to explain this issue. Thank you for help. 回答1: Welcome to stackoverflow On the new Google Play Console select the app, then go to Monetize >> Monetization Setup and you will see the Base64-encoded RSA public key 回答2: Many changes has been done in the new console, so to get BASE64 PUBLIC KEY you follow as in the below

Open this app to confirm your subscription before Jun 23, 2020

走远了吗. 提交于 2021-01-24 07:52:22
问题 Open this app to confirm your subscription before Jun 23, 2020. What is causing this? 回答1: PurchaseResult was returning my purchases with acknowledge as false. Using the following code, managed to fix the issue. for (Purchase purchase: purchasesResult.getPurchasesList()) { AcknowledgePurchaseParams acknowledgePurchaseParams = AcknowledgePurchaseParams.newBuilder() .setPurchaseToken(purchase.getPurchaseToken()) .build(); acknowledgePurchaseParams.getDeveloperPayload();

What is maximum purchaseToken length provided by google after in app purchases in android?

跟風遠走 提交于 2021-01-04 06:09:28
问题 Can anyone tell me the exact length of purchaseToken provided by google after successfull in app purchase in andorid. 回答1: This token is an opaque character sequence that may be up to 1,000 characters long. 来源: https://stackoverflow.com/questions/44516501/what-is-maximum-purchasetoken-length-provided-by-google-after-in-app-purchases-i

What is maximum purchaseToken length provided by google after in app purchases in android?

巧了我就是萌 提交于 2021-01-04 06:06:10
问题 Can anyone tell me the exact length of purchaseToken provided by google after successfull in app purchase in andorid. 回答1: This token is an opaque character sequence that may be up to 1,000 characters long. 来源: https://stackoverflow.com/questions/44516501/what-is-maximum-purchasetoken-length-provided-by-google-after-in-app-purchases-i

How do you detect if a user's existing subscription's price has changed (Google Play in-app purchase)?

五迷三道 提交于 2020-12-25 04:27:21
问题 Google has documentation of what to do IF a subscription's price has changed. You're supposed to use a billing client and launch PriceChangeConfirmationFlow . However, how do you detect if the price has changed in the first place? What Android library API would tell me that? The SkuDetails have the price, but the Purchase details don't. They just refer to the SkuDetails using the "productId". I'm looking at the raw json. If the Purchase object had a price in it, I could compare it to the

How do you detect if a user's existing subscription's price has changed (Google Play in-app purchase)?

北战南征 提交于 2020-12-25 04:25:22
问题 Google has documentation of what to do IF a subscription's price has changed. You're supposed to use a billing client and launch PriceChangeConfirmationFlow . However, how do you detect if the price has changed in the first place? What Android library API would tell me that? The SkuDetails have the price, but the Purchase details don't. They just refer to the SkuDetails using the "productId". I'm looking at the raw json. If the Purchase object had a price in it, I could compare it to the

Google Play Billing : how to simulate 'Account Hold' status (in debug/sandbox mode)

旧街凉风 提交于 2020-12-03 17:12:10
问题 Before November 2020, an Android app on Google Play has to manage 'Account Hold' status. https://developer.android.com/distribute/play-policies Question is: how to simulate 'Account Hold' status so that I can check that my app manages properly this status ? It is not mentioned in the doc as far as I can see: https://developer.android.com/google/play/billing/test Thanks. 回答1: What we've found today: Use Test Card, Always Approves to begin the subscription Go to phone settings > Accounts > your