in-app-subscription

Common subscription for Android and iOS App

给你一囗甜甜゛ 提交于 2019-12-25 16:59:07
问题 We are developing a Point of Sale app available on iOS and Android platforms. Our business model is such that, each user will have to pay us a customised cost based upon the number of his business outlets on half yearly or quarterly basis. Once the user will pay us that cost than he could use our apps on any number of devices, on any platform. I want to know if it's compulsory to process subscription charge for iOS App through Apple In App Purchases. Or we can process subscription offline and

Did Firebase start reporting in_app_purchase for subscriptions recently?

风流意气都作罢 提交于 2019-12-22 11:24:09
问题 My Android app has integrated Firebase SDK Firebase is linked to Google Play I'm using subscriptions only In the past there weren't any " in_app_purchase " events automatically reported (comparing to one-time products) I do not report " in_app_purchase " manually from the client or server. But I've got "in_app_purchase" recently with " subscription " (=1) parameter. https://support.google.com/firebase/answer/7061705?hl=en lists next parameters: product_id, product_name, price, price_is

iOS in-app purchases verify receipts for consumables

↘锁芯ラ 提交于 2019-12-22 01:36:19
问题 in iOS with in-app purchases, it is necessary to verify receipts with subscriptions. is it necessary to verify receipts for consumables also? 回答1: No you don't need to verify receipts for consumables. You don't need to verify receipts for subscriptions either. What's important here is that you can restore running subscriptions; but for that you can use purchase ID. As always make 100% sure you've given the user what was paid for before telling iOS that the purchase was successful! (There are

Preventing Trial Period Fraudulent in iOS In App purchases

感情迁移 提交于 2019-12-20 06:19:19
问题 We have a app with a auto renewable IAP for which we offer a initial trial period to the user and charge once the trial period has expired. Our app maintains user account management(user login) and all features (including the IAP) are accessible only when the user is logged in. There are two scenarios to consider: Case 1: A new user(app user) opts to purchase the subscription for trial period on a device where she's logged in with her apple id. She later(post expiry of the trial period)

Trying to cancel an Android test subscription gives me a 500 response code

喜夏-厌秋 提交于 2019-12-10 10:39:51
问题 I have an Android app with in-app subscriptions. While testing, I used a google account to "buy" a test subscription - the ones that last for 24 hours and don't incur in actual billing. It worked fine a few times, but my last "purchase" is stuck and I can't cancel it. When I try cancelling it via Google Play store, either the app or the website, I get these extremely unhelpful error messages: "An unexpected error occurred. Please try again later". When I try cancelling it via Google Play

Generating a Signature for Subscription Offers - Xcode - Swift

谁说我不能喝 提交于 2019-12-07 14:44:05
问题 I wanted to ask if someone has already implemented the new Offers for the inapp-subscription (auto renewal), the difficulty in creating server-side the system to create this signature using the p8 key with php if possible. I found this on the Apple documentation, I'm not sure understanding it: https://developer.apple.com/documentation/storekit/in-app_purchase/generating_a_signature_for_subscription_offers 回答1: Here's a walkthrough from RevenueCat: iOS Subscription Offers The post contains

iOS & Firebase Auto-renewable Subscriptions

无人久伴 提交于 2019-12-06 12:18:49
问题 My problem: I am having a hard time figuring out a way to safely manage auto-renewable subscriptions in iOS with Firebase. Purchase process: User1 purchases a subscription Update User1's account on Firebase w/ the subscription identifier (used to unlock content) Store original_transaciton_identifier(OTI) w/ uid of User1 to match w/ receipt verification from Apple. Grant user access Edge cases causing my brain to implode: User1 logs out of AppleId used to purchase subscription, but remains

Trying to cancel an Android test subscription gives me a 500 response code

白昼怎懂夜的黑 提交于 2019-12-06 07:55:19
I have an Android app with in-app subscriptions. While testing, I used a google account to "buy" a test subscription - the ones that last for 24 hours and don't incur in actual billing. It worked fine a few times, but my last "purchase" is stuck and I can't cancel it. When I try cancelling it via Google Play store, either the app or the website, I get these extremely unhelpful error messages: "An unexpected error occurred. Please try again later". When I try cancelling it via Google Play Developers API ( https://developers.google.com/android-publisher/api-ref/purchases/subscriptions/cancel )

Generating a Signature for Subscription Offers - Xcode - Swift

梦想的初衷 提交于 2019-12-05 19:49:09
I wanted to ask if someone has already implemented the new Offers for the inapp-subscription (auto renewal), the difficulty in creating server-side the system to create this signature using the p8 key with php if possible. I found this on the Apple documentation, I'm not sure understanding it: https://developer.apple.com/documentation/storekit/in-app_purchase/generating_a_signature_for_subscription_offers Here's a walkthrough from RevenueCat: iOS Subscription Offers The post contains much more detail, but the signature generation is: import json import uuid import time import hashlib import

iOS & Firebase Auto-renewable Subscriptions

二次信任 提交于 2019-12-04 20:09:08
My problem: I am having a hard time figuring out a way to safely manage auto-renewable subscriptions in iOS with Firebase. Purchase process: User1 purchases a subscription Update User1's account on Firebase w/ the subscription identifier (used to unlock content) Store original_transaciton_identifier(OTI) w/ uid of User1 to match w/ receipt verification from Apple. Grant user access Edge cases causing my brain to implode: User1 logs out of AppleId used to purchase subscription, but remains logged in to app w/ Firestore credentials. Therefore, when I go to verify if the subscription has expired