in-app-purchase

Is there a way to fully automate iOS in-app purchase creation/editing/deletion in iTunes Connect?

巧了我就是萌 提交于 2020-08-21 06:37:48
问题 I'm working iOS client for a site where users can create and sell courses. Since Apple wants all the purchasable products in iOS app to be available as in-app purchases, I need a way to automate that in-app purchases generation. For now I've read 'App Metadata Specification' and 'Transporter User Guide' docs and that seems like a way to do it: generate metadata package when any course edited (created or deleted) and automatically (some script?) feed it to transporter. But I'm lacking

In App Purchase on Mac Catalyst Not Working

霸气de小男生 提交于 2020-07-22 03:57:50
问题 In app purchases work fine for my iOS side of things. The data from StoreKit is populated as it should. The same code doesn't work on the Mac Catalyst version of the project. I have even created a listing for my Mac app on App Store connect with different bundle identifiers for the in app purchases. I have a print function that returns what product StoreKit found, it works well on iOS, but results with nothing when using Mac Catalyst. Here is what I have done: Make sure that In App purchases

In App Purchase on Mac Catalyst Not Working

故事扮演 提交于 2020-07-22 03:56:40
问题 In app purchases work fine for my iOS side of things. The data from StoreKit is populated as it should. The same code doesn't work on the Mac Catalyst version of the project. I have even created a listing for my Mac app on App Store connect with different bundle identifiers for the in app purchases. I have a print function that returns what product StoreKit found, it works well on iOS, but results with nothing when using Mac Catalyst. Here is what I have done: Make sure that In App purchases

In App Purchase on Mac Catalyst Not Working

淺唱寂寞╮ 提交于 2020-07-22 03:56:05
问题 In app purchases work fine for my iOS side of things. The data from StoreKit is populated as it should. The same code doesn't work on the Mac Catalyst version of the project. I have even created a listing for my Mac app on App Store connect with different bundle identifiers for the in app purchases. I have a print function that returns what product StoreKit found, it works well on iOS, but results with nothing when using Mac Catalyst. Here is what I have done: Make sure that In App purchases

iOS: A default alert will be showed after purchasing a product in-app purchase

只谈情不闲聊 提交于 2020-07-21 07:06:29
问题 I am struggling with a problem that after purchasing a product successfully and a system alert ("You're all set, Your purchase was successful") will be showed as well. The problem is that I am not able to get a callback or any event to know the system alert was dismissed in order to display a custom popup func paymentQueue(_ queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction]) { for transaction:AnyObject in transactions { if let trans = transaction as?

iOS: A default alert will be showed after purchasing a product in-app purchase

别等时光非礼了梦想. 提交于 2020-07-21 07:05:06
问题 I am struggling with a problem that after purchasing a product successfully and a system alert ("You're all set, Your purchase was successful") will be showed as well. The problem is that I am not able to get a callback or any event to know the system alert was dismissed in order to display a custom popup func paymentQueue(_ queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction]) { for transaction:AnyObject in transactions { if let trans = transaction as?

Android in-app purchase of a subscription with a free trial - how to avoid abuse?

自古美人都是妖i 提交于 2020-07-17 10:15:26
问题 I've searched high and low for guidance on how best to address this... I've read Google Play In-App Subscriptions (http://developer.android.com/google/play/billing/billing_subscriptions.html) and the section on Implementing Subscriptions (http://developer.android.com/google/play/billing/billing_integrate.html#Subs) but I still don't see a way to avoid abuse. I've also seen the related question here - Google Inapp purchasing and trial period. However, using the SharedPreferences is subject to

Is there a way to add extra data when purchasing using Inapp purchases

自闭症网瘾萝莉.ら 提交于 2020-07-10 08:39:06
问题 Here is a scenerio , We have multiple teachers on our app . User can purchase 3 different items from teacher which costs $20, $30, $40 . So I created 3 products in google play console . When user purchases some item how can I know from which teacher he purchased the item from ? I don't see any way to set extra data when purchasing the item . How people generally handles these cases ? This is the method I use to launch payment screen fun buyAnItem(activity:Activity,skuDetails: SkuDetails) {