in-app-billing

In-app purchase Error while retrieving information from server [DF-AA-20]

我的梦境 提交于 2019-12-08 15:56:20
问题 i'm trying to enable in app billing. I've created In-app-products on my google play console and got my License key. When i try to purchase product. I get this image error. Here is the code i use to create BillingProcessor. bp = new BillingProcessor(this, LICENSE_KEY, MERCHANT_ID, new BillingProcessor.IBillingHandler() { @Override public void onProductPurchased(@NonNull String productId, @Nullable TransactionDetails details) { showToast("onProductPurchased: " + productId); updateTextViews(); }

Android “The publisher cannot purchase the item”

两盒软妹~` 提交于 2019-12-08 12:41:10
问题 I'm not testing my in app purchase ! I have download my app from google play store and I still can't buy any of my In App purchase within the application. I have the following error : "The publisher cannot purchase the item". All my In App purchase are also valid and active. I'm using the same google account than in my google play developer console. I have read on google that it's normal that developer can't buy it's own items in testing mode (alpha or beta) but here i'm using the official

Any problems regarding LVL when moving apps from one Google account to another?

十年热恋 提交于 2019-12-08 11:58:45
问题 I'm considering moving my apps to another Google (Apps) Account as described here: http://www.google.com/support/androidmarket/developer/bin/answer.py?hl=en&answer=139626 However, I need to be sure there are no "gotchas" regarding LVL or in-app billing. In particular, LVL signs responses with your public key (as given in the Edit Profile of your Developer account). So what happens when you move an app from one account to another? If LVL uses the new public key then the existing app

In App Billing purchases not on Google Play / Weird Receipts

主宰稳场 提交于 2019-12-08 11:39:58
问题 We've noticed that are a lot of in app billing payment records on our server that aren't reflected on Google Play Order Management. After looking at the receipts, we've noticed several differences between the ones from Order Management vs the ones that aren't there. For those that aren't on Order Management: (Always) Order ID is apparently using the older format: 3925053605191231569.4699441885150531 (Always) purchaseToken is quite short: neliazyrqesvgwagglfwccfa (Usually) title is almost the

C++/Cocos2d-x: how to add inapp billing (inapp purchase) in Cocos2d-x Android project?

混江龙づ霸主 提交于 2019-12-08 07:35:55
问题 I am currently developing an app which will be on Android Market. How can I implement in my Cocos2x-project the Google code for inapp billing on Android Market ? Detailed explanations (or a detailed step by step tutorial :)) would be appreciated ! Thanks !!! 回答1: JNI has to be used. The inapp is implemented in the Java part of the project. 回答2: The SOOMLA Project has implemented it for you. It's designed specifically for game developers and it's great - but i'm one of the creators so i'm a

In-app Billing design - How to give the user free items on first install

﹥>﹥吖頭↗ 提交于 2019-12-08 03:02:23
问题 I want to implement in-app billing for my application where users can purchase coins. However I want the users to get some free coins when they first try the game. How do I go about implementing this? If I just store it in the app settings, they can just keep re-installing the game and getting the free coins again. And the SD card is not secure enough, I don't want people tampering with it easily. I hope this isn't a duplicate but I looked around and couldn't find anything in the docs. Iv'e

Google Play in-app billing version 3: crash on “item already owned” and missing failure notifications

怎甘沉沦 提交于 2019-12-08 02:25:40
问题 After (eventually) shipping a v2 implementation of the Google Play in-app billing, I've had nothing but problems with it post-launch. Dropped transactions, crashes, unable to restore, crazy errors like "can't download, you already own this item", and all sorts of other ridiculous things. Honestly, I've integrated IAB on iOS, Amazon App Store, Samsung Apps and Blackberry 10 now and the Google Play code has taken more time than all the others combined. Times ten. It's just terrible. Anywayyyy,

In android market is there a subscription facility?

故事扮演 提交于 2019-12-07 22:54:57
问题 Currently I Am developing an magazine reader app. In my app I want to provide the Subscription facility where user can have monthly subscriptions. I am having a doubt that is there a subscription facility in android market. I went through the Google docs.I fond that now its not available. But still I am having a doubt and little bit confused. Can any one tell me about this. Any help will be appreciated.I really want to clarify this for the further movement. 回答1: Yes, there is an API that

Android inapp purchasing consume able product

不想你离开。 提交于 2019-12-07 18:45:28
问题 I have implemented in-app purchased in my application and my product type is Managed and i am using API version 3. When i make purchase from my credit card it is successfully done. But the problem is if i uninstall my application and want to purchase this with same account it will charge me again? According to Google rules of managed product type we only purchase the product once? But why is this happening ? any one help me please? here is my PurchaseActivity.java class public abstract class

Android in-app billing signature verification in php server

爷,独闯天下 提交于 2019-12-07 13:53:16
问题 I am working on the IAB v3 in my android application. After every succes purchase, I want my app to send back the sign data and signature to my php server for verification by the public key generated by google developer console. I found the following code. <?php // $data and $signature are assumed to contain the data and the signature // fetch public key from certificate and ready it $fp = fopen("/src/openssl-0.9.6/demos/sign/cert.pem", "r"); $cert = fread($fp, 8192); fclose($fp); $pubkeyid =