in-app-subscription

App Store Connect does not show all sales - why?

强颜欢笑 提交于 2021-02-07 04:21:05
问题 In order to be able to better estimate the revenue income of our app, we implemented a Database function that reliably (we tested it in Sandbox mode) increases a subscription counter for the subscription that was made by one once a subscription has been made. This function is only triggered once an in-app purchase has been successful (i.e. when we receive the feedback from StoreKit to enable the Premium functions). Now, we have found enormous discrepancies between the data we observed and the

Google In App Billing differentiate user accounts

旧巷老猫 提交于 2021-01-29 06:12:13
问题 I'm developing an app that contains In App Billing non consumable product (Life time Subscription). User has one email associated with Play Store on his device. Scenario: User A create new account using user1@test.com and purchase Lifetime Subscription and logout. User B create new account using user2@test.com and trying to purchase. but he get response BillingClient.BillingResponse.ITEM_ALREADY_OWNED . How do i differ each user to buy item? I'm using 'com.android.billingclient:billing:2.2.1'

Swift: how to fix strange in-app purchase behavior?

独自空忆成欢 提交于 2020-12-12 09:19:09
问题 I use code for in-app purchase based on this answer. But I ran into some strange bugs. For example: I have FirstViewController with locked content and PurchasesViewController with purchase buttons. When I click on purchase button in PurchasesViewController , confirm purchase and wait several seconds for notification about the purchase is successful. Next I go back to FirstViewController and see that content unlocked. In this example all works fine. But... Problem: If I click on purchase

Swift: how to fix strange in-app purchase behavior?

泪湿孤枕 提交于 2020-12-12 09:12:16
问题 I use code for in-app purchase based on this answer. But I ran into some strange bugs. For example: I have FirstViewController with locked content and PurchasesViewController with purchase buttons. When I click on purchase button in PurchasesViewController , confirm purchase and wait several seconds for notification about the purchase is successful. Next I go back to FirstViewController and see that content unlocked. In this example all works fine. But... Problem: If I click on purchase

Swift: how to fix strange in-app purchase behavior?

南笙酒味 提交于 2020-12-12 09:11:14
问题 I use code for in-app purchase based on this answer. But I ran into some strange bugs. For example: I have FirstViewController with locked content and PurchasesViewController with purchase buttons. When I click on purchase button in PurchasesViewController , confirm purchase and wait several seconds for notification about the purchase is successful. Next I go back to FirstViewController and see that content unlocked. In this example all works fine. But... Problem: If I click on purchase

Google play billing API: How to understand the user is subscribed?

假装没事ソ 提交于 2020-06-27 16:23:26
问题 The bounty expires in 5 days . Answers to this question are eligible for a +50 reputation bounty. Namikaze Minato wants to draw more attention to this question: Hello. I am setting this bounty as I think not enough attention has been paid or the info is limited for play billing library. I can't simply get the info whether the user is subscribed or not. So I would appreciate anyone's help. thanks. I want to find out whether the user active subscription to Basic/Premium content or not from the

Google Play - Error “subscriptionNotOwnedByUser” when acknowledging purchase token of a subscription

浪子不回头ぞ 提交于 2020-05-26 08:16:20
问题 Keep receiving error "subscriptionNotOwnedByUser" from Google's when acknowledging a subscription upgrade/downgrade using Google's developer API for server-side subscription verification. The purchase token was extracted directly from the notification received from Google's real-time developer notification. Tried searching this error but no luck. Thanks for any help. Error message: { "error": { "errors": [ { "domain": "androidpublisher", "reason": "subscriptionNotOwnedByUser", "message": "The

Google Play - Error “subscriptionNotOwnedByUser” when acknowledging purchase token of a subscription

半世苍凉 提交于 2020-05-26 08:16:18
问题 Keep receiving error "subscriptionNotOwnedByUser" from Google's when acknowledging a subscription upgrade/downgrade using Google's developer API for server-side subscription verification. The purchase token was extracted directly from the notification received from Google's real-time developer notification. Tried searching this error but no luck. Thanks for any help. Error message: { "error": { "errors": [ { "domain": "androidpublisher", "reason": "subscriptionNotOwnedByUser", "message": "The

Auto-Renewable subscription for in-app purchase

£可爱£侵袭症+ 提交于 2020-01-04 06:16:08
问题 After buying a product from in-app purchase (Auto-renewable), I hit API on server to give buying information. How to know that product is re-new for hitting API ? When user cancel that subscription, how to known that ? 回答1: Swift 3: In order for you to detect when the user has cancelled the subscription you need to do the following; Download the app receipt Validate the receipt so you can get the json back containing all the in-app purchases and subscriptions dictionaries Now inside each

how to get subscription expire date in inapp v3 android

拈花ヽ惹草 提交于 2019-12-29 06:28:34
问题 Hi I have I implemented inapp billing V3 for one year subscription for a item using android-inapp-billing-v3. I want to show remaining days in my app. I am calling getSubscriptionTransactionDetails to get Transaction details for the product but it always returns null . here is my code. private BillingProcessor startInappCheck(){ bp = new BillingProcessor(mContext, BASE64ENCODEDPUBLICKEY, new BillingProcessor.IBillingHandler() { @Override public void onProductPurchased(String productId,