in-app-billing

Testing in-app billing: “The publisher cannot purchase this item”

做~自己de王妃 提交于 2019-12-03 02:55:06
问题 My app seems ready to get a 'real life' test for an in-app purchase procedure on my device. However, I receive an "The publisher cannot purchase this item" error message in Play Store. Now, how am I supposed to test this? I don't want to lose my phone's configuration by reinstalling it with a dummy account just for testing. In the Developer Console under "Settings"-"License testing", I have added my email address under "GMail accounts with testing access", but this doesn't change anything...

Are there alternatives to using Google's in-app-billing , as a way to avoid publishing private info? [closed]

非 Y 不嫁゛ 提交于 2019-12-03 02:36:44
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . Background Starting from September 30th this year (end of this month), Google won't allow developers that sell apps and developers that use in-app-billing to show their apps without also showing their address . Here's what they write: Add a physical contact address Beginning

Using external payments processor on Android for SaaS instead of Google Play In-app Billing

送分小仙女□ 提交于 2019-12-03 01:27:40
I’ve built a SaaS website with subscriptions, enabled by an external payments processor (which could be Stripe , Braintree , Paddle , etc.). Now this website for my SaaS has been packaged in a small WebView wrapper and is about to be released as an Android app. But on the Stripe website, I found this: Google’s developer terms require that purchases related to the app, such as premium features or credits, are made via their native In-app Billing API. – https://stripe.com/docs/mobile/android Diving deeper into Google Play’s terms, you can find this (emphasis mine): Developers offering products

In-app purchases made via promo codes return empty developer payload string

放肆的年华 提交于 2019-12-03 01:27:03
问题 I have an app published to the alpha channel, with an in-app (un)managed item that costs $1. When I purchase normally, i.e, use a credit/debit card Google returns the correct developer payload string, but if I choose to "redeem" a promo code and enter said code, Google returns an empty developer payload string, and thus authentication fails in 'onIabPurchaseFinished()'. I should mention that this only occurs if I choose to redeem a code from the app's purchase flow, and everything works

IAB helper is not set up. Can't perform operation: queryInventory

半世苍凉 提交于 2019-12-03 00:37:33
I am trying to implement in-app-billing API in my app but when I run my app it trows an exception. This is the first time that I am dealing with in-app-billing API. This is the log of the exception that I am getting: Process: koemdzhiev.com.quickshoppinglist, PID: 10604 java.lang.RuntimeException: Unable to start activity ComponentInfo{koemdzhiev.com.quickshoppinglist/koemdzhiev.com.quickshoppinglist.ui.MainActivity}: java.lang.IllegalStateException: IAB helper is not set up. Can't perform operation: queryInventory at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2329)

In-App Billing: “Query items available for purchase” returns 0 items

允我心安 提交于 2019-12-03 00:21:32
I am trying to implement in-app-billing for my app. I am following the implementation used in google's TriviaDrive sample app, and the relevant documentation on the Developer website. My code is working as expected but when I try to "Query Items Available for Purchase" , the resulting Inventory object contains 0 objects, even though I have created a product. I have created a Managed Product with the id paid_version using the Google Play Developer Console, as shown in the image below: The documentation indicates that "To retrieve the product details, call queryInventoryAsync(boolean, List,

Updating an Android App that uses In App Billing

穿精又带淫゛_ 提交于 2019-12-02 22:29:23
We have an Application which utilizes In App Billing. The problem that we're seeing is as follows: When the versionCode of the App on the device is the same as the version code of the Application published in the Play Developer Console, Billing works fine. When a build with a higher versionCode is uploaded to the Play Developer Console, In App Billing stops working on the App on the device (with a lower versionCode) saying that "The Application is not configured for Billing". This is fine, when testing, but the question is - what is the behavior when the App is in the Google Play Store? When

Server side verification of Google Play in-app billing version 3 purchase (part 2)

大憨熊 提交于 2019-12-02 20:18:47
So I thought I understood how in-app billing and server-side verification works thanks to an answer to a previous question of mine but now that I think of it I'm still lost... This is what I have and what I want to do: I have an app where the users can purchase several "items". Each item is stored on a server and and item should be made available for downloaded within the app upon purchase. The items are managed items that can be purchased only once (ie non-consumable). I have no problem defining items in the Google Play Developer console and I can perform a successful purchase. What I don't

How do we verify Android in-app billing receipt on the server side?

南楼画角 提交于 2019-12-02 20:15:24
I am implementing in-app billing into an Android game and we want to use a server to store the purchase information. According to what I understood so far, Android Market will return a callback to the app in the form of Broadcast receiver about the purchase status. But since we are persisting the transaction information on the server, my app has to make some http post request and update my server. There is a very high chance that this http post request could be imitated by some hacker manually. How do I validate that Android market receipt information from my server code? Is there any Google

How to remove Subscription from product list in developer console and what will be its effect on the old subscribed users?

只谈情不闲聊 提交于 2019-12-02 19:32:29
I want to remove the existing subscription product from product list. How would I be able to perform so as I didn't found any option on my developer console to delete the subscriptions ? Also if in any way possible it is allowed, then will it have any effect on the existing users who have purchased that subscription when they call for RESTORE_TRANSACTION from their app while communicating with Google Play ? Unfortunately, It's not possible to remove a subscription product from the product list of the developer console. You can just remove the subscription product from the product list offered