in-app-purchase

Receipt validation issue in App Purchases Mac Store “Receipt validation should be presented…”

人盡茶涼 提交于 2020-02-24 11:14:06
问题 My applications uses the Store Kit API to purchases in app purchases. I am getting the following store rejection issue, has anyone ever encountered this? 2.3 Apps that do not perform as advertised by the developer will be rejected The app is not using the Store Kit API properly. The application needs to use receipt validation in order for Store Kit to properly process In App Purchases. I inquired further and they said: Receipt validation should be presented on launch of the app. Anyone have

Flutter in_app_purchase pastPurchases is null in IOS

筅森魡賤 提交于 2020-02-06 08:18:14
问题 I use in_app_purchase Flutter Package. In my app, app contains auto-renewal subscription. and I need to check user's subscription state. code below, I check user's subscription state. It works in android. but, in IOS, not working. Future<bool> getHistoryInApp() async { BuildContext context; available = await _iap.isAvailable(); if(Platform.isIOS){ _iap.refreshPurchaseVerificationData(); } QueryPurchaseDetailsResponse response = await _iap.queryPastPurchases(); Fluttertoast.showToast(msg:

Dynamically add in-app products (non consumable) in itunes for specific app

本小妞迷上赌 提交于 2020-02-02 16:27:51
问题 We are using consumable type of product items, which are having same price tier. But apple rejected the same and apple suggested us to use non-consumable product type. Now, we want to add non-consumable product dynamically when any item is added in to content management system. can we add product to itunes through our own system? Please help us to achieve this. Thanks in advance 回答1: Apple has not provided any such API till now to upload products manually. So, We have to add all the products

Dynamically add in-app products (non consumable) in itunes for specific app

◇◆丶佛笑我妖孽 提交于 2020-02-02 16:27:45
问题 We are using consumable type of product items, which are having same price tier. But apple rejected the same and apple suggested us to use non-consumable product type. Now, we want to add non-consumable product dynamically when any item is added in to content management system. can we add product to itunes through our own system? Please help us to achieve this. Thanks in advance 回答1: Apple has not provided any such API till now to upload products manually. So, We have to add all the products

In-app product - FormattedPrice with many decimal places

◇◆丶佛笑我妖孽 提交于 2020-01-25 17:35:24
问题 I implemented in-app purchases inside universal app and for testing I use my own XML file with list of in-app products. On Windows 8.1 it works very well but on Windows Phone 8.1 FormattedPrice property is returning price with many decimal places. Am I able to somehow fix it because it looks really strange? Sample: http://1drv.ms/1yVNhRw <Product ProductId="product2" ProductType="Consumable"> <MarketData xml:lang="de-de"> <Name>Product Title 2</Name> <Price>49.99</Price> <CurrencySymbol>€<

In-app product - FormattedPrice with many decimal places

穿精又带淫゛_ 提交于 2020-01-25 17:34:43
问题 I implemented in-app purchases inside universal app and for testing I use my own XML file with list of in-app products. On Windows 8.1 it works very well but on Windows Phone 8.1 FormattedPrice property is returning price with many decimal places. Am I able to somehow fix it because it looks really strange? Sample: http://1drv.ms/1yVNhRw <Product ProductId="product2" ProductType="Consumable"> <MarketData xml:lang="de-de"> <Name>Product Title 2</Name> <Price>49.99</Price> <CurrencySymbol>€<

MPL library integration in iOS. Will it contradict APPLE in app purchase or any other payment rule?

跟風遠走 提交于 2020-01-25 11:59:12
问题 We are planning one app with such a concept that consumers can buy service from other user and can pay amount through application itself. What we are concerned is, will APPLE have any objection if we implement MPL item payment i.e. directly user would be able to buy a service from other user by paying within the application ? We are referring this documentation for payment integration Real world scenario would be like I have a few questions and need help to solve those. Some one will offer

iOS IAP in_app field in receipt

筅森魡賤 提交于 2020-01-25 09:26:04
问题 There's an in_app field as an array in a receipt. When does it return an array containing more than 1 element? And what's the index of the latest purchased item? 回答1: From the documentation in_app : In the JSON file, the value of this key is an array containing all in-app purchase receipts based on the in-app purchase transactions present in the input base-64 receipt-data. For receipts containing auto-renewable subscriptions, check the value of the latest_receipt_info key to get the status of

In-app Purchases from iMessage app extension

北慕城南 提交于 2020-01-23 10:56:11
问题 I created an app that uses in-app purchases, I already have set up the in-app purchases on iTunes and I even tested it using a sandbox user and all of this is working perfectly. now that I included an iMessage app extension, the same in-app purchase products return invalidProduct Id, but continues working well inside the main app. could be because the bundle id? mainapp: com.whatever.bundleid app iMessage: com.whatever.bundleid.iMessage iMessage extension: com.whatever.bundleid.iMessage

get purchased item detail at start of app with IabHelper android

青春壹個敷衍的年華 提交于 2020-01-23 01:41:06
问题 I have implemented In-App in my application in that there is list of images with grid when user select image if user has already purchased that item it should never called again otherwise it should called method of mHelper.launchPurchaseFlow(this, SKU_PREMIUM, RC_REQUEST, mPurchaseFinishedListener, ""); i have successfully integrate in-app with my app and also item is being purchased but i want to know at start up if that item is purchased or not if not purchased than above code should be