play-billing-samples
play-billing-samples copied to clipboard
Samples for Google Play In-app Billing
`Inventory() { } /** Returns the listing details for an in-app product. */ public SkuDetails getSkuDetails(String sku) { return mSkuMap.get(sku); } /** Returns purchase information for a given product, or...
I'm in a position where I want to test the Free Trial feature of a subscription. Given that I don't want to create multiple Google Accounts, is there a way...
update billing 5.2.1 and a free trial is working properly for up to 7 days but auto-renewal not extend to 30 days since we gave 7 days as a trial...
On PurchasesUpdatedListener.onPurchasesUpdated() calback, BillingResult.getResponseCode() is "5", BillingResult.getDebugMessage() is "Expired Product details. Please fetch product details again and use it to retry the call.". The SkuDetails that pull up google Pay...
Play billing sample (the trivial drive kotlin one, not sure about the JAVA one as I haven't followed this one), is way too complex to study from and to implement...
I upload my app to play store 1st time (App still not pushlised). I was create IAP products and try to query Product Details on debug device but return empty....
When purchase object is not null but is empty, incorrectly gets passed to processing. Instead empty purchase object should get passed into already defined else statement, "Empty purchase list."
How do I check if a subscription has a free trial and how many days it lasts, as in the previous version I could do it by checking the "freeTrialPeriod"...
Our app using the paymentState for identifying the receipt is in free trial or not. Now we are moving to latest API subscriptionV2(https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.subscriptionsv2/get). But there is no field to identify...
I (suddenly) see ads. I tried to follow the steps suggested but I dont have the same android release, apparently. What should I do?