in-app-billing

Check the status of In-App Subscription in Android

。_饼干妹妹 提交于 2019-12-22 04:12:32
问题 I have created an application in which there is in-app purchases which has monthly auto renewal.. on first time successful payment i have called a web-service in which i have made the user to premium class. Now if the user has cancelled the payment manually from the google server, how could i know that user has cancelled his/her subscription. Is there is some PHP code query or from android i have to called something in background to check the status?? Thank you in advace 回答1: You can check

Android In-app purchase: While purchasing got network failed popup but purchase has been completed got an email

核能气质少年 提交于 2019-12-22 01:00:40
问题 I am getting a weird issue from the in-app purchase IInAppBillingService version 3 since 1 week ago. Below are the steps what I had followed: Note: I followed these steps because few of my users got same network issue but purchase has been completed. But app still showing Buy button for that product. So to replicate the issue I had to follow these steps. Installed the debuggable signed APK over the play store version. Clicked on item to buy Opened the play store popup with Buy button. Clicked

iOS - credit card + PayPal transaction NOT via in-app purchases

北战南征 提交于 2019-12-21 20:17:23
问题 I was wondering how can I ask a user for credit card details and charge him without using Apple's in-app purchasing mechanism. My idea was to post the user's credit card to my online credit billing system and make the transaction on the website, behind the scenes, and then report back to the user with the transaction results. Will Apple approve this kind of app? 回答1: Apple will not approve such an app, unless users are purchasing something which cannot be purchased via an in-app purchase. For

iOS - credit card + PayPal transaction NOT via in-app purchases

蓝咒 提交于 2019-12-21 20:16:27
问题 I was wondering how can I ask a user for credit card details and charge him without using Apple's in-app purchasing mechanism. My idea was to post the user's credit card to my online credit billing system and make the transaction on the website, behind the scenes, and then report back to the user with the transaction results. Will Apple approve this kind of app? 回答1: Apple will not approve such an app, unless users are purchasing something which cannot be purchased via an in-app purchase. For

Subscription sample missing JSON parsing of purchaseToken

喜夏-厌秋 提交于 2019-12-21 17:54:26
问题 I have been recently studying code for In-App-Billing v2. And have found some issues with it. I have earlier implemented In-App-Billing but wish to upgrade to subscription. On my research I found that Purchase token is recieved along with the JSON(Signed data) on successful purchase for subscription. The demo's Security.java on successful verification of signature parses Json however the parsing of element Purchase-token is missing here. JSONObject jElement = jTransactionsArray.getJSONObject

From second time “In app purchase” throwing exception in Android

只愿长相守 提交于 2019-12-21 17:45:03
问题 I Am trying to include in app purchase and i have successfully through in showing up SKUs available.Now I want to make a fake purchase.So I used appId = "android.test.purchased". For the first time it worked flawlessly, but from next it is throwing exception as below. Attempt to invoke virtual method 'android.content.IntentSender android.app.PendingIntent.getIntentSender()' on a null object reference Has anybody come across such situation? package com.inappbilling.poc; import java.util

Android In-App Sandbox setting error for a particular Gmail ID

人走茶凉 提交于 2019-12-21 09:09:11
问题 My Project is in Plyatore beta. The project contains subscription as monthly and yearly. So I added a Sandbox settings with 8 Gmail id's for testing the subscription.Then I configure each Gmail id in device account settings, only two Id is getting purchase dialog. Remaining 6 Gmail id's are getting one error message as "the item you requested is not available for purchase". Is anyone has the same problem occurred, or anyone has the solution please help me to fix the issue. The mail id is

Under What Conditions are In-App Billing Version 3 Server Changes Made Available on Client Devices?

六眼飞鱼酱① 提交于 2019-12-21 08:15:25
问题 Testing In-App Billing Version 3 has been made unpredictable by the fact that the Google Play app buffers data from the Google Play servers, and the buffering process is not well-documented. In particular, if a purchase is made on one of a user's devices, it may not be immediately visible on a different device owned by that same user. Recommended practice is for an app to check the inventory of all purchased products when it is started. But sometimes this check uses buffered data that is

What should do for this Scenerio in-app billing

泪湿孤枕 提交于 2019-12-21 06:35:11
问题 I have an application and I am trying to understand in-app billing. I want to do this : If a user buys an item with in-app billing. user can use this item with same account in different device without paying again. So my scenerio is this: Assume that I have a application and it has in-app billing V3 service. And then a user purchases an "Managed Product" item and the user has an another device then the user wants to install this purcashed item in other device without paying again . But I read

Adding in-app purchase to existing published application and testing it without publishing

耗尽温柔 提交于 2019-12-21 04:14:27
问题 I'm trying to add in-app purchase for my existing published app that didn't previously have billing permission. I've uploaded an updated APK with billing permission, but didn't activate it since I don't want to publish this draft. However, I can't add in-app product - it still says "the current application version does not use the BILLING permission". Any way to solve/work around this problem? 回答1: Change Android version code in Androidmanifest.xml file. android:versionCode="1" suppose if