in-app-billing

Handling in-app purchases / consumable products across sessions/devices?

余生长醉 提交于 2019-11-29 15:31:01
My question is centered around handling in-app purchases for consumables with Google's In-App Billing API. ( https://developer.android.com/google/play/billing/api.html#consumetypes ) Their documentation describes consumables as: Consumable products In contrast, you can implement consumption for products that can be made available for purchase multiple times. Typically, these products provide certain temporary effects. For example, the user's in-game character might gain life points or gain extra gold coins in their inventory. Dispensing the benefits or effects of the purchased product in your

In App BIlling trouble with Pending Intents and switching activities

岁酱吖の 提交于 2019-11-29 15:22:20
问题 Ok so I have been trying to fix this for days, and I'm not coming here looking for someone to do my work for me as I have been troubleshooting and fixed every single error message in the LogCat. I am developing an Android game using Andengine (this might be part of the problem so being familiar with it could help). I'm not doing anything too fancy, my game activities are all single scene and don't have any Physics or anything like that, just a bunch of sprites and textures. I also used

Official list of countries for In-app Billing android? [closed]

我只是一个虾纸丫 提交于 2019-11-29 14:43:41
问题 Hello I am currently in Pakistan and when I start Google sample in-app billing application it says that "Can't Make Purchase: The market billing service is not available at this time. You can continue to use this app but you won't be able to make purchases." Please if any body know that complete list of supported countries or knows what is going wrong please tell me. http://developer.android.com/guide/market/billing/billing_integrate.html#billing-implement UPDATE Application has been uploaded

Why Can't Google's Market Billing Sample Build in a Signed Release Version?

纵饮孤独 提交于 2019-11-29 13:34:21
I tried looking into similar problems, but the solutions offered there do not seem to fit my particular situation: I initially followed the instructions for Configuring and building the sample application for In-app Billing, replacing the security key with the public key from Google's Developer account and changing the package name from com.example to com.billtheape . I then built a non-release version and ran a "sanity check" on my Android phone. Everything went OK (except for accessing the Android Market server, of course, since by design it only works with a signed release version). Then I

Not being able to establish connection for In app billing in android

我与影子孤独终老i 提交于 2019-11-29 12:35:35
I am trying to integrate In app billing v3 in my app. I call the following function to initialize. public static void SetupInappBilling() { mHelper = new IabHelper(context, base64EncodedPublicKey); mHelper.enableDebugLogging(true); mHelper.startSetup(new IabHelper.OnIabSetupFinishedListener() { public void onIabSetupFinished(IabResult result) { if (result.isSuccess()) { Log.e("tag", "connected"); ConnectionEstablished = true; } else { Log.e("tag", "not connected"); ConnectionEstablished = false; } } }); } but i dont get call back in OnIabSetupFinishedListener Can anyone tell me how to fix this

iOS How I can load multiple in-app items

梦想的初衷 提交于 2019-11-29 11:46:21
Is there a way to load multiple items together on in-app billing section on itunes connect dashboard (for example with a .csv file like Android)? You can use the Application Loader to mass import in app purchases: https://itunesconnect.apple.com/docs/UsingApplicationLoader.pdf Read the "Creating a Package from a File" section on page 15: You can create a package containing the In-App Purchase you want to submit to iTunes by importing details from an Application Loader file and adding and editing the metadata. When creating a package from a file, be sure to use the Application Loader template.

Testing Android Market in-app billing with dummy credit card credentials

梦想的初衷 提交于 2019-11-29 09:05:55
I have configured an Android application to use the in-app billing module as documented at: http://developer.android.com/guide/market/billing/index.html It works fine when tested using the UK development team's accounts which have real credit cards associated with them. However, part of my development team is based in China, and as Google Billing does not operate in China, they are unable to test the billing functionality. Understandably the team is uncomfortable sharing personal card details, or personal account information with others. Does anybody know a work around for this? While in

Restore transaction inapp purchase android

时光怂恿深爱的人放手 提交于 2019-11-29 07:30:46
How to do restore transaction in in-app billing purchase android. So far I have searched in all links. I didn't find exact infromation. I have used BillingHelper.restoreTransactionInformation(BillingSecurity.generateNonce()) but it returns nothing. Can anyone help me to come out of this problem. Any help would be appreciated. The V3 of the api does not require anymore to restore the purchases. Can directly query for purchased items. Please read the section Querying for Purchased Item of: http://developer.android.com/google/play/billing/billing_integrate.html and the getPurchases() method

Does Google Play In-App Billing Version 3 support refunds?

走远了吗. 提交于 2019-11-29 05:43:01
问题 I've gotten IAB v3 working and I was able to make a purchase for a managed item. However, to continue developing and testing I wanted to refund the purchase so I could try making the same purchase again. I logged into my Google Checkout Merchant account and successfully refunded the purchase. However, the app still thinks that the user has the item purchased. It has already been several weeks since I made the refund so its not a delay issue. Basically, in my QueryInventoryFinishedListener

What should be the developer payload in android in-app billing v3 api?

人盡茶涼 提交于 2019-11-29 05:30:20
I am implementing in-app billing in my app to unlock premium features. The in-app billing sets up correctly. Everything seems fine except the 'developer payload' thing. The sample app says /* * TODO: verify that the developer payload of the purchase is correct. It will be * the same one that you sent when initiating the purchase. * * WARNING: Locally generating a random string when starting a purchase and * verifying it here might seem like a good approach, but this will fail in the * case where the user purchases an item on one device and then uses your app on * a different device, because on