In-App Purchase

RSS for tag

Offer extra content, digital goods, and features directly within your app using in-app purchases.

In-App Purchase Documentation

Posts under In-App Purchase tag

562 Posts
Sort by:
Post marked as solved
1 Replies
77 Views
I have a macOS app (AppKit-based, not Mac Catalyst) and an iOS app serving a very similar purpose and user group. Both are currently using non-consumable IAPs to unlock functionalities. I‘m considering a subscription model and wonder if both apps could share the same IAP products. I‘m well aware that both apps need to use the same Bundle ID / App Store Connect entry, so I‘m willing to discontinue the existing Bundle IDs (while keeping the apps installable for existing customers), but Apple‘s info about „Universal Purchase“ is only mentioning Mac Catalyst apps for macOS: Mac Catalyst. With Xcode 11.4 or later, Mac apps built with Mac Catalyst can share a bundle ID with the iOS version of the app, so universal purchase is supported. Can an AppKit-based macOS app and an iOS app share the save Bundle ID and offer a Universal Purchase?
Posted
by MyMattes.
Last updated
.
Post marked as solved
1 Replies
67 Views
We're testing in-app purchases in our iOS app, and Product.products(..) returns an empty vector in the sandbox environment, both when building & running in xcode and on testflight. We've eliminated all the obvious reasons: Paid App Agreement is done InAppPurchase Products are in Ready to Submit The ProductId's are matching Sandbox tester account is set up and logged in on testing device Currently we're out of ideas for why the IAP purchase products are not showing up - would appreciate any help!
Posted Last updated
.
Post not yet marked as solved
0 Replies
67 Views
Your in-app purchase has been returned. Fix the marked items and submit it again. For more information, see the Notes from App Review. And when I click on Notes from App Review: 3.1.1 - new IAP type New type: Non-Consumable Previous type: Non-Renewing Subscription, Consumable Recommend: Download I don't understand what's wrong here. I just created a non-consumable product and set everything. But it's not clear to me what's wrong and what kind of action I should take. Can you help me figure this out, please?
Posted Last updated
.
Post not yet marked as solved
1 Replies
60 Views
Hi, I am implementing in-app subscriptions in my application and would like to set up a module in my admin portal by which I can create subscription products via my custom module. For this purpose I need API's that allow me to create subscription products. Please let me know if such a solution is possible, if it is, then please share the API's and payload by which I could implement it. Thank you in advance.
Posted Last updated
.
Post not yet marked as solved
0 Replies
35 Views
Hi, I'm implementing in app purchase/subscriptions for my application and would like to setup a financial report module in my admin portal. I am bit confused, is it possible to get financial reports and invoices via the API when in sandbox account. Also I would greatly appreciate it if you could also share the API and parameters needed, by which we can get the finance reports and invoices. Thank You in advance.
Posted Last updated
.
Post not yet marked as solved
0 Replies
45 Views
APPLE ID IS SAME Please try to understand my situation by an example. We have three plans on App Store. one month three months one year Is this default behaviour of the app store in-app purchases, Am I missing something or doing something wrong. Is it really not possible to purchase two subscriptions from same Apple ID and both got renew parallely. Please note these all cases are for same Apple ID. I signed up as User A and purchased one month subscription successfully. I logged out from User A and signed up as User B and tried to purchase one month subscription, I got error that subscription is already active. Now again tried to purchase three months plan, purchase is successfull but what happened when I again logged in as User A, then his subscription didn’t get renewed. I am not getting any hook to cancel or expire the User A subscription.
Posted Last updated
.
Post not yet marked as solved
5 Replies
1.7k Views
I would like to programmatically keep track of offer codes that have been used. I just configured a Test Offer Code (Reference name), which contains 500 codes (Offer Codes) to buy a 1-month subscription for 0,49€. I was able to redeem the code and everything works, but I was expecting to receive the used code. Instead I received the Reference name in the payload from the App Store Server Notification in the field offer_code_ref_name="Test Offer Code". (expected was sth like offer_code_ref_name="JFFDS61SBJDBJ5BXJS4BX") I would be able to identify the Reference name by the code, if it was provided, because I have the following table in my app's backend: reference_name | code | url | expires_at | used | reserved Test Offer Code | xadz | zzz | 31-07-2022 | t | f Test Offer Code | asdf | *** | 31-07-2022 | f | f The used code doesn't seem to be included in the latest receipt. How can I obtain it? Can I somehow call App Store Connect API? Thanks
Posted Last updated
.
Post not yet marked as solved
0 Replies
70 Views
My app offers a premium subscription, and all works well locally when I test with a Sandbox tester account. However, in app review, the reviewers are not able to access premium - Apple does not open the subcription/payments modal when the reviewers click the "Get Premium" button. I'm wondering if it's because I haven't "attached" my subscription to my review as described in https://developer.apple.com/help/app-store-connect/manage-submissions-to-app-review/submit-for-review/? The instructions says: "On the right, scroll down to the In-App Purchases and Subscriptions section, then click Select in-app purchases and subscriptions. When submitting a subscription for the first time, it must be submitted with a new app version." But I don't see any "In-App Purchases and Subscriptions" section on this page. Am I missing something or are the docs outdated?
Posted
by joy93.
Last updated
.
Post not yet marked as solved
0 Replies
58 Views
I am not sure if this is just Xcode and Storekit2 behaving weird. I am getting all products every time during my testing, even though I have pricing enabled for US and non-US in the same subscription group. How do I handle this scenario? Isn't SubscriptionStoreView supposed to handle this by itself depending on media and purchases country? Thanks in advance for your response!
Posted Last updated
.
Post not yet marked as solved
1 Replies
134 Views
Hi everyone I have an app already on-line on app store connect and I am looking for a way to upload a batch of in-app purchased items (csv file or similar): Can you help? Thank you, Federico
Posted
by chicco72.
Last updated
.
Post not yet marked as solved
0 Replies
116 Views
Hello, everyone. I'm using Bubble.io to develop a matching app for a transportation company and try to publish it to the App Store by using BDK plugin. The URL of the matching app is as follows https://carrier-s.com I received the following message from the App Store, and I'm not sure what to do. The いいね can be purchased in the app using payment mechanisms other than in-app purchase. If anyone knows anything about in-app purchases, please let me know. Currently, payments are made via Stripe.
Posted
by Wachi.
Last updated
.
Post not yet marked as solved
0 Replies
102 Views
I have an app where fans can subscribe to multiple content creators and this is implemented using a sub group for each creator. I want to add a new "all access" subscription that gets them access to everything. We are treating this as an upgrade from the individual sub. Is there a way to cancel (or swap) the individual sub when they subscribe to the bundled sub? I know within a sub group it is possible to go between sub levels, but not sure about across sub groups.
Posted
by ypp.
Last updated
.
Post not yet marked as solved
2 Replies
428 Views
I Implement a 'SubscriptionStoreView' using 'groupID' into a project (iOS is targeting 17.2 and macOS is targeting 14.1).Build/run the application locally (both production and development environments will work fine), however once the application is live on the AppStore in AppStoreConnect, SubscriptionStoreView no longer shows products and only shows 'Subscription Unavailable' and 'The subscription is unavailable in the current storefront.' - this message is shown live in production for both iOS and macOS targets. There is no log messages shown in the Console that indicate anything going wrong with StoreKit 2, but I haven't made any changes to my code and noticed this first start appearing about 5 days ago. I expect the subscription store to be visible to all users and for my products to display. My application is live on both the iOS and macOS AppStores, it passed App Review and I have users who have previously been able to subscribe and use my application, I have not pushed any new changes, so something has changed in StoreKit2 which is causing unexpected behaviour and for this error message to display. As 'SubscriptionStoreView' is a view provided by Apple, I'm really not sure on the pathway forward other than going back to StoreKit1 which I really don't want to do. Is there any further error information that can be provided on what might be causing this and how I can fix it? (I have created a feedback ticket FB13658521)
Posted
by Lukesrad.
Last updated
.
Post not yet marked as solved
2 Replies
234 Views
Hi. We have recently switched to server notification V2. Based on this documentation (notificationType): If the subtype is GRACE_PERIOD, continue to provide service through the grace period. If the subtype is empty, the subscription isn’t in a grace period and you can stop providing the subscription service. Also, base on another documentation (StoreKit): Throughout the billing grace period, the value of isInBillingRetry is true, which indicates that Apple is attempting to automatically renew the subscription. Now, I'm receiving DID_FAIL_TO_RENEW server notification with GRACE_PERIOD subtype where gracePeriodExpiresDate is in the future, but isInBillingRetryPeriod is false (additional note: user has been in trial period and now must be charged as trial has ended). The question is: Is this situation a valid Grace Period even if user is not in billing retry period? And if yes, please elaborate why this is the case. Thank you!
Posted Last updated
.
Post not yet marked as solved
1 Replies
259 Views
Apple automatically refunds the prorated amount on the original subscription after it is upgraded. Since upgrades happen immediately and start a new billing cycle beginning from the day of upgrade, the previous original subscription is refunded for the prorated amount. Is there any way to retrieve the amount that was refunded by Apple? The transaction that was upgraded is marked with isUpgraded flag to true but the price field on it still shows the full amount and there is no App Store Server Notification that tells us how much was the refund. How do I get the refunded amount?
Posted
by kalehv.
Last updated
.
Post not yet marked as solved
2 Replies
175 Views
Hi, I am processing both REFUNDED and REVOKED transactions on the client-side and on the server using Apple's App Store Server Notifications (V2). For transactions with an inAppOwnershipType of FAMILY_SHARED, I receive REVOKE notifications that (sometimes) do not include a revocationDate. What does this imply, and what actions should I take? Additionally, when I query their transaction IDs using the App Store API, they also lack a revocationDate and do not appear in the results when I filter for revoked transactions. Is it appropriate to block these users? Why are server-to-server REVOKE notifications sent in the first place if the transaction does not appear as revoked in the API? Thanks
Posted
by nktbcc.
Last updated
.
Post not yet marked as solved
0 Replies
153 Views
I have been trying to enable in app purchase in sandbox environment but instead it keeps performing transactions in Xcode. Also Apple says in its docs to set up sandbox tester account in Settings > App store without signing out from the non sandbox account, and says the sign in will appear as soon as we perform a transaction on device, but it does not worked for me I have ensured and tried following things: Created sand box tester id Storekit configured , all the plans fetched Has development team Tried signing in Sandbox account Checked whether I am testing in production or development build by if else (It was in development) Tested on real device Please help me get through this
Posted Last updated
.