StoreKit

RSS for tag

Support in-app purchases and interactions with the App Store using StoreKit.

StoreKit Documentation

Posts under StoreKit subtopic

Post

Replies

Boosts

Views

Activity

In-App Purchase Resources
General: Forums topic: StoreKit Forums tag: In-App Purchase App Store Pathway Simple and safe In-App Purchases Auto-renewable subscriptions In-App Purchase documentation Getting started with In-App Purchase using StoreKit views documentation Supporting business model changes by using the app transaction documentation Testing at all stages of development with Xcode and the sandbox documentation App Store Server Notifications documentation App Store Server API documentation Simplifying your implementation by using the App Store Server Library documentation TN3185: Troubleshooting In-App Purchases availability in Xcode technote TN3186: Troubleshooting In-App Purchases availability in the sandbox technote TN3188: Troubleshooting In-App Purchases availability in the App Store technote Understanding StoreKit workflows sample code Implementing a store in your app using the StoreKit API sample code What’s new in StoreKit and In-App Purchase video
0
0
2.3k
Jun ’26
verifyReceipt returns empty then historical transactions with different receipt metadata during an IAP flow
We are investigating two different production app receipts collected before and after an in-app purchase flow for the same signed-in user of our iOS app. Both receipts were validated against https://buy.itunes.apple.com/verifyReceipt. Both responses returned status = 0 and environment = Production, and both have the same bundle_id and app_item_id. However, their transaction histories and app receipt metadata differ substantially. Observed differences Receipt A (before the purchase flow): receipt.in_app is empty. latest_receipt_info, latest_receipt, and pending_renewal_info are absent. application_version is 31436; original_application_version is 25069. Receipt B (after the purchase flow, validated approximately 78 seconds later): receipt.in_app contains one historical auto-renewable subscription transaction. latest_receipt_info contains two historical subscription transactions; the later one includes promotional_offer_id and offer_code_ref_name. application_version is 31323; original_application_version is 18440. receipt_creation_date is approximately three months earlier than Receipt A's creation date, despite B being collected later in the flow. receipt.original_purchase_date differs by approximately two years. download_id and version_external_identifier also differ. The transactions shown in B predate this purchase flow. These responses alone do not establish that a new purchase completed successfully. What we know and what remains unconfirmed The same application user is involved before and after the flow. We have not yet independently confirmed continuity of the underlying Media & Purchases Apple Account. The supplied server logs do not contain the exact StoreKit callbacks or any receipt refresh/restore calls. We do not currently have a focused standalone reproduction project or confirmed device OS/tool versions for this occurrence. We understand that transaction contents can change as receipts are updated. What we need help understanding is the combination of an empty transaction history changing to historical subscriptions, an older receipt creation date, and different original app purchase metadata during one user's purchase flow. Questions Under what circumstances can this combination of changes occur? Could a cached receipt, receipt refresh/restoration, or a change in App Store account context explain it? Which StoreKit callbacks, receipt acquisition/refresh events, and other diagnostics should we capture to distinguish these possibilities without collecting Apple Account credentials? What is the recommended way to obtain and validate the applicable subscription history when the initial app receipt contains no in-app transactions? If Apple needs the original receipt payloads to investigate this occurrence, which private support or Feedback Assistant channel should we use? Raw receipt data, transaction identifiers, account tokens, download identifiers, and user-specific timestamps have been omitted from this public post. We can provide the original request/response files through an appropriate private Apple support channel. Any guidance from the StoreKit team would be appreciated.
1
0
180
1h
AppTransaction.shared throws during Sandbox startup in a devicectl-launched build
I’m testing StoreKit 2 on a physical iPhone 15 Pro Max running iOS 26.6 (23G71). The app is a development-signed Debug build installed and launched with devicectl, without a local StoreKit configuration file. At startup, try await AppTransaction.shared threw on two scene activations within a single process. Both errors matched StoreKitError and were classified by our app as .unknown or an unrecognized future StoreKitError case. We did not retain the original error details. The code did not reach product, entitlement, or subscription status lookup. No purchase or restore was attempted, and Sandbox sign-in state was not recorded during the run. Is AppTransaction.shared expected to return a Sandbox app transaction for a development-signed app launched with devicectl before any purchase attempt? Are there specific account or launch prerequisites? If this is a supported setup, which StoreKit logs would be most useful for diagnosing the failure? Thanks for any guidance.
0
0
29
4h
Does App Review accept multiple In-App Purchases sharing one display name?
Does App Review accept multiple In-App Purchases in the same app sharing an identical display name (for example ten non-renewing subscriptions all named 'Example Digital', differing only in price and duration)? The purchase sheet always shows the price alongside the name. App Store Connect Help documents a 2–30 character limit for the display name but states no uniqueness rule.
1
0
116
5h
Sandbox test notification returns 4040007 after notification URL is saved and verified
For our app, we saved a sandbox App Store Server Notifications URL with V2 enabled and independently read the configuration back. A subsequent test-notification request returned HTTP 404 / 4040007. An authenticated sandbox notification-history request shortly beforehand returned HTTP 200. We restored the original settings after collecting diagnostics. The recorded failure is covered by Feedback Assistant report FB24885397. What could explain this discrepancy, and what additional diagnostics would help Apple investigate?
1
0
233
5h
Discrepancy between App Store Server API expiresDate (localized) and iOS Settings Subscriptions UI
Hello everyone, I am encountering a persistent date discrepancy between the subscription expiration date returned by the App Store Server API and the date displayed to the user in the native iOS Settings UI. Our app receives the renewal timestamp via the App Store Server Notifications in UTC milliseconds. For a recent transaction, we received renewalDate = 1820988823000, which is September 15, 2027, at 06:13 AM UTC. Following standard practices, our app formats this UTC timestamp to the user's local device timezone. On a device set to India Standard Time (IST, UTC+5:30), the app correctly displays the expiration as September 15. However, on the exact same device, navigating to iOS Settings > Apple ID > Subscriptions shows the expiration date as September 14. Converting 06:13 AM UTC to Pacific Time (PT) results in September 14 at 11:13 PM PDT. This leads me to suspect that the iOS Settings page anchors its display strictly to Cupertino/Pacific Time, completely bypassing the device's local timezone. I noticed another developer raised this exact issue regarding KST back in September 2025 (Thread ID: 800332), but that post remains unanswered. My questions for the community and Apple Engineers: Can anyone officially confirm if the native iOS Settings > Subscriptions screen intentionally displays dates anchored strictly to Pacific Time (PT) rather than the device's local timezone? If so, how are you handling user inquiries when your app correctly displays the local time, but Apple's UI displays the day prior? Any official references or guidance on this behavior would be greatly appreciated to help us clarify this for our QA teams and end-users.
1
0
328
6h
StoreKit 2 returns USA/USD in TestFlight but DEU/EUR in local Release build on the same device
Hi everyone, We are currently preparing the release of our Flutter-based iOS application and are experiencing an unusual StoreKit 2 storefront issue that only occurs when the app is installed through TestFlight. The problem When our application is installed through TestFlight, StoreKit 2 consistently returns the United States storefront (USA), and all six auto-renewable subscription products are displayed with USD prices. However, both the regular Apple Account and the Sandbox Apple Account are configured for Germany. We have verified the following: All six subscription products are correctly configured in App Store Connect with EUR prices for Germany. The subscriptions are available in Germany, Austria, and Switzerland. We created a completely new Sandbox tester with Germany selected during account creation, using an email address that had never previously been used for sandbox testing. The issue occurs on two different physical devices (iPhone and iPad). No local StoreKit configuration file is used. Our application does not override the storefront, modify localized prices, or contain any hardcoded USD fallback. Controlled comparison We performed additional tests using the same application code on the same iPhone. The results were: Installation method Storefront Currency Local Debug build via Xcode/Flutter DEU EUR Local development-signed Release build via Flutter DEU EUR TestFlight Release build USA USD The locally installed Release build successfully retrieves all six subscription products with their correct German prices. For example, StoreKit returns the following values for one of our subscriptions: Local Release build: Storefront.current.countryCode = DEU Product currencyCode = EUR Product.displayPrice = 6,99 € TestFlight build: Storefront.current.countryCode = USA Product currencyCode = USD Both builds use the same StoreKit 2 integration and product identifiers. Technical environment Framework: Flutter StoreKit integration: StoreKit 2 Flutter plugin: in_app_purchase_storekit 0.4.11+2 Devices: Physical iPhone and iPad iOS/iPadOS: 26.6.2 Subscription products: Six auto-renewable subscriptions Expected storefront: Germany (DEU) Actual TestFlight storefront: United States (USA) We have traced the storefront country code directly to StoreKit 2’s Storefront.current.countryCode and the localized prices to the product information returned by Product.products(for:). There is no application-level storefront override or price conversion. Questions Why would StoreKit 2 return a different storefront in TestFlight compared with a locally installed development-signed Release build on the same physical device? Could TestFlight use a different sandbox storefront or Apple Account context than a locally installed build? Is there a recommended way to diagnose or reset the storefront association used by TestFlight? Has anyone experienced similar behavior where TestFlight consistently returns USA despite using a German Apple Account and newly created German sandbox testers? We have already contacted Apple Developer Support and followed their recommendation to create a completely new German sandbox tester, but the issue persists. Any guidance from Apple engineers or developers who have encountered similar behavior would be greatly appreciated. Thank you!
5
0
169
6h
-paymentQueue:updatedTransactions: called continuously every time app is in foreground
-(void)paymentQueue:(SKPaymentQueue*)queue updatedTransactions:(NSArray<SKPaymentTransaction*>*)transactions In the sandbox environment this is called continuously every time my enters the foreground. I call -finishTransaction on approximately 22 transactions. Confirmed by: NSUInteger finishCount = 0; NSUInteger transactionCount = transactions.count; for (SKPaymentTransaction *aTransaction in transactions) { // Check state..if purchased or restored.. [[SKPaymentQueue defaultQueue]finishTransaction:aTransaction]; finishCount++; // Post notification telling everyone here! } NSLog(@"Finsihed %lu of %lu",finishCount,transactionCount); The log at the bottom says - finished 22 of 22 transactions. But every time the app enters the foreground the -paymentQueue:updatedTransactions: is called again with another batch of transactions. How Over and over again. Not sure how this is possible but the transactions seem to never clear from the queue. I hope this may be limited to the sandboxed environment. In this loop after finish transaction is called I then post a notification which kicks off receipt validation...and then I even store something in the keychain. Doing this work over and over again in a tight loop is very unexpected and causes my app to lock up. Yea I know this is deprecated. Will move to my Objective-C storekit 2 wrapper but breaking SK1 on purpose seems kind of um, rude. Hope this is only in the sandbox environment. This app got sidelined even though I got some plans to resurrect it in the back of my head.
1
0
313
6h
question about decline pending transaction in .storekit
Hello, I'm doing the in-app purchase tests with a local .storekit file. When I declined a pending transaction on the "Manage Transactions..." form, my code got a record from the Transaction.updates immediately. This transaction was in 'verified' state and the 'revocationDate' was also nil. So my code treated this transaction as approved and went into wrong logic. In the apple online document about the storekit test, it mentioned that "Your app doesn’t receive a transaction because you declined Ask to Buy.". But in my tests, it always sent a 'approved' transaction to me after transaction declined on the "Manage Transactions..." form. Does any know why this happened? Any advice will be appreciated. Thanks in advance. Best, Steven
1
0
72
6h
Every subscription renewal fails with expirationIntent 2 (billing error): 4 of 4 free-trial conversions in 48h, no renewal has ever succeeded, initial purchases work (FB24877994)
Following the guidance in the locked thread "Reporting your App Store Server Notifications issue" (thread 774053), Feedback ID: FB24877994. Apple Developer Support case 102971044266 is open in parallel. Summary On our account no auto-renewable subscription renewal has ever succeeded, on either of our two products, while every customer-present initial purchase succeeds. In the last 48 hours 4 of 4 free trials that reached their renewal date with auto-renew ON failed with expirationIntent 2, in four countries (PK, GB, NL, US). What we observe Yearly product with a 7-day free introductory offer (all 175 territories, offerMode FREE_TRIAL, ONE_WEEK, 1 period). Monthly product with no offer. For each of the four, GET /inApps/v1/subscriptions/{originalTransactionId} returns status 3, and the renewal info has autoRenewStatus 1, expirationIntent 2, isInBillingRetryPeriod true, the correct renewalPrice and currency, no priceIncreaseStatus. Environment Production, inAppOwnershipType PURCHASED. The DID_FAIL_TO_RENEW notification (no subtype; billing grace period not enabled) arrives at the expiry time in each case. App Store Connect subscription events from 2026-08-01 to 2026-09-20: 18 free trial starts, 6 full-price starts, 4 voluntary churns from free trial, 4 from full price, 3 "Billing retry from free trial", 1 "Involuntary churn from full price", and no renewal event of any kind. So 5 of 5 unattended renewal charges ever attempted have failed, across two products and five countries, while the 6 paid monthly purchases in the same window (TR, FR, AU, MN, US) were charged normally at purchase time. The customers are in their own storefront countries (device time zones match), and none of the four cancelled. What we have verified Both products Approved, 175 price rows each, no scheduled or preserved prices; Paid Applications Agreement, Free Apps Agreement, banking, tax forms and both compliance items (DSA, MRDP) all show Active with nothing pending in App Store Connect > Business; our servers call no App Store Server API endpoint that modifies a subscription. Thread 847338 (posted today) describes every renewal on an account failing after an agreement issue, with expirationIntent 5. Ours is expirationIntent 2 and our agreements show Active, but the shape is the same: every renewal, no purchase affected. Questions for Apple engineers Is there any account, agreement or product condition that causes renewal charges to fail with expirationIntent 2 while initial purchases succeed? Is anything more than expirationIntent 2 available about these four renewals? The four original transaction IDs are in FB24877994. Is there a known issue affecting free-trial-to-paid renewals around 19 to 21 September 2026? Thank you.
1
0
225
11h
Request a Test Notification returns 401 with an active In-App Purchase key and Apple Java Server Library
Hello Apple Developer Forums, We are unable to authorize the Production App Store Server API Request a Test Notification endpoint. Environment: Production API: Request a Test Notification Library: Apple App Store Server Library for Java 5.2.0 Client: AppStoreServerAPIClient Result: HTTP 401 Unauthorized before a testNotificationToken is returned. We have verified the following: The key is an active In-App Purchase key created in App Store Connect under Users and Access > Integrations > In-App Purchase. The production server uses the matching .p8 private key, Key ID, Issuer ID, and bundle ID. The bundle ID is com.ansio.serviceproof.ios. The server clock is NTP-synchronized. The request uses the official Apple Java Server Library rather than a manually generated JWT. We rotated the production In-App Purchase key once and received the same 401 result. The notification URL is configured for the Production environment, uses HTTPS, and is reachable. Sandbox uses an independent key and notification configuration. We intentionally do not include the private key, JWT, Key ID, or Issuer ID publicly. According to the documentation, HTTP 401 means the JWT is invalid. Since the official library creates the JWT and the active In-App Purchase key configuration has been verified, could Apple clarify: Is any additional App Store Connect role, agreement, team activation, or entitlement required for a Production In-App Purchase key to authorize App Store Server API requests? Is there a known propagation or authorization issue that can cause a newly created active In-App Purchase key to return 401? What non-sensitive diagnostic details can help distinguish a JWT construction issue from a team-level authorization issue? Thank you.
1
0
199
11h
StoreKit 2 returns USA storefront and USD price in TestFlight despite Japanese Apple Account
Hello, I'm developing an iOS app that uses StoreKit 2 for an auto-renewable subscription. I'm experiencing an issue where StoreKit returns the US storefront and USD pricing in TestFlight, even though the device's Apple Account and Sandbox Apple Account are configured for Japan. Environment App: YonsanmaruTimer (430タイマー) App version: 1.2.0 (TestFlight build 4) Bundle ID: com.manyouen.YonsanmaruTimer Product ID: com.manyouen.YonsanmaruTimer.plusassist.monthly StoreKit 2 Xcode Archive configuration: Release App Store Connect configuration The subscription is configured with the following prices: Japan: ¥200/month, with a one-month free trial United States: $0.99/month The app is intended for distribution in Japan. Observed behavior When fetching the subscription product using Product.products(for:), I log the current storefront and product price. The result is: Storefront: USA Price: $0.99 Currency: USDAs a result, the subscription price displayed in the app using product.displayPrice is $0.99 instead of ¥200. What I have already checked The device's Apple Account country/region for Media & Purchases is Japan. TestFlight is installed using my regular Japanese Apple Account. I created a new Sandbox Apple Account with Japan as its country/region and signed in through Settings → Developer → Sandbox Apple Account. The storefront still returns USA after restarting the TestFlight app. The app is archived using the Release build configuration. In an earlier subscription purchase test, Apple's native purchase confirmation sheet displayed ¥200, even though the app's product display price was $0.99. Questions Why would Storefront.current return USA in TestFlight under these conditions? Is this expected behavior in the TestFlight sandbox environment? Could this behavior also occur after the app is released on the App Store? Is there any additional account, device, or App Store Connect configuration I should check? I would like to ensure that the subscription price displayed in my app matches the price shown in Apple's purchase confirmation sheet before submitting the app for review. Any guidance would be greatly appreciated. Thank you.
0
0
85
2d
Sandbox IAP: AuthKit succeeds, then AMSServerErrorDomain -5000 (cancel-purchase-batch)
Every sandbox purchase of our auto-renewable subscriptions cancels right after AuthKit sign-in succeeds. It's blocking our 1.0 release. Filed as FB25469063, no reply yet. Capacitor iOS app, bundle io.xrplive.app, 1.0.0 (TestFlight), products io.xrplive.app.pro.monthly / .yearly, iPhone 17 Pro Max on iOS 27.0.1, StoreKit via @capgo/native-purchases. Console on every attempt: (1) AMSAuthKitUpdateTask: "The AuthKit authentication succeeded." (2) Then: Error Domain=AMSServerErrorDomain Code=-5000 UserInfo={failureType=-5000, m-allowed=false, cancel-purchase-batch=true, customerMessage=Check the account information you entered and try again.} Also AMSErrorDomain Code=100 (Authentication Failed), Code=2 ("Password reuse not available for account"), and a 401 from sandbox.itunes.apple.com/commerce/messages/app/inbox. We already fixed a purchase(confirmIn:) presentation issue. This failure is in sandbox verification after a successful sign-in, which we can't fix from the client. Is -5000 with cancel-purchase-batch a known sandbox account or commerce issue? Is there a sandbox tester or storefront state that fixes it when AuthKit succeeds but verification still fails?
1
0
76
2d
StoreKit says purchase succeeded but didn't, AppStore.sync() throws error Unable to Complete Request
One user of my app reached out reporting an interesting in-app purchase issue. Has anyone encountered this or have an idea what's going on here? Proceed to purchase the non-consumable IAP in the app downloaded from the App Store iOS shows the price sheet as expected Confirm with the side button iOS shows an alert "You've already purchased this. Would you like to get it again for free?" Tap OK iOS shows an alert "You're all set. Your purchase was successful." Tap OK The app's content remains locked Tap Restore Purchases iOS shows an alert to sign (with the same account shown in step 2) Input the password and tap OK iOS shows an alert "Unable to Complete Request" (which is the error.localizedDescription thrown from AppStore.sync())
4
0
459
3d
All auto-renewable subscriptions returning expirationIntent = 5 after resolving an agreement issue (StoreKit 1 and StoreKit 2)
Hello, We are currently seeing errors when validating receipts for every auto-renewable subscription purchased through both StoreKit 1 and StoreKit 2. Details below. Case 1 — StoreKit 1 Calling https://buy.itunes.apple.com/verifyReceipt with the subscription receipt returns: "status": 21006, "expiration_intent": "5" Case 2 — StoreKit 2 Calling https://api.storekit.itunes.apple.com/inApps/v1/subscriptions and reading the most recent transaction (LastTransactionsItem) returns status 3. Within JWSRenewalInfoDecodedPayload: autoRenewStatus = 1, expirationIntent = 5 Timeline We believe renewals stopped processing for essentially all auto-renewing subscribers of our app as of 2026-09-18 09:30 KST (UTC+9). After resolving an agreement/licensing issue on our side, new purchases and some receipt validations recovered as of 2026-09-21 11:49 KST. However, most existing receipts still return expirationIntent = 5 when we query receipt validation or subscription status. Questions Is any action required on our side — a server-side change, a configuration change in App Store Connect, or a further review of our agreements? Now that the agreement issue is resolved, when are the renewals that were left pending during the outage expected to be processed? Any guidance would be appreciated. Thank you.
1
0
310
3d
App Store Server API mass renewal date extension remains incomplete for 11 days
Hello, I submitted a mass subscription renewal date extension request using the App Store Server API on September 9, 2026. The request was accepted successfully. However, when I check the request using getStatusOfSubscriptionRenewalDateExtensions, the status continues to return: complete: false As of September 20, the request has remained incomplete for 11 days. Request details: Extension: 1 day Reason: temporary service interruption Environment: Production The documentation states that a mass renewal date extension may take hours or even days to complete, but I have not been able to find guidance for a request that remains incomplete this long. Only three subscribers were affected by the service interruption, and I have their originalTransactionId values. I am considering using the individual subscription renewal date extension API instead. My questions are: Is it expected for a mass renewal date extension request to remain complete: false for 11 days? Could this mass request still complete at a later date? Is there any way to cancel or determine whether this mass request is stuck? If I extend the three affected subscriptions individually now, is there a risk that the pending mass request could later complete and extend them a second time? I would like to compensate the affected subscribers as soon as possible while avoiding duplicate extensions. Thank you for any guidance.
1
0
341
3d
TestFlight: StoreKit returns CHN/CNY but purchase sheet shows USD
I see different storefronts in StoreKit product queries and Apple’s purchase sheet when testing through TestFlight. Xcode-installed builds work normally. iPhone — iOS 26.6 (23G71), US Media & Purchases account Both StoreKit 1 and StoreKit 2 return CHN/CNY. The app displays CNY 128 for a non-consumable, but Apple’s sandbox purchase sheet shows USD 29.99 for the same product. This reproduces in a standalone 177-line Swift sample using Product.displayPrice directly, with no third-party dependencies, currency conversion, or local .storekit configuration. Reloading products and signing out of the sandbox account did not resolve it. Mac Catalyst — macOS 26.3 (25D125), China purchase account The original TestFlight app returns USA/USD. Purchasing shows “Account Not In This Store” and asks to switch to China, although the purchase account is already set to China. The Mac symptom has not yet been verified in the standalone sample. Reproduction on the affected iPhone: install via TestFlight, load products and log Storefront.current plus the SK1 storefront, open the purchase sheet for the same product, then compare currencies. No completed purchase is needed. Built with Xcode 26.1 (17B55). Has anyone found a workaround for this TestFlight-only mismatch? Should the app handle storefront updates differently, and which additional diagnostics would help distinguish a device/account-session issue from a StoreKit service issue? Feedback: FB24873070. A focused sample and diagnostic evidence are prepared for Apple Developer Technical Support. Reproduction on other devices/accounts is not yet confirmed.
1
0
309
3d
TestFlight sandbox: iTunes account creation not allowed during app sign-in / purchase testing
We are testing version 1.0 Build 29 through TestFlight after a Guideline 2.1(b) rejection: Purchase did not respond on iPad Air 11-inch (M3). Paid Apps Agreement is Active, and subscription price, availability, localization and review screenshot are present. Restores worked, but a fresh purchase is not yet verified. On iPhone 13, Build 29 is installed, Developer Mode is on, and Media & Purchases was signed out. The tester reports signing into Developer > Sandbox Apple Account, then trying to sign into the app. During this sequence an email verification prompt was followed by: "iTunes account creation not allowed. This Apple account cannot be used with iTunes Store at this time. Please try again later." The app uses Sign in with Apple separately from StoreKit. We have not isolated which system authentication flow produced the error. What is the supported sequence for regular iCloud/Sign in with Apple alongside a Sandbox Apple Account for TestFlight purchases? Which diagnostics distinguish account setup failure from app authentication or StoreKit failure? Should we escalate through Feedback Assistant or Developer Support, and which logs should accompany the report? We want to verify a fresh purchase on an 11-inch iPad before resubmission.
1
0
239
3d
Advanced Commerce API support for native macOS apps
Hello, We are considering using the Advanced Commerce API for a native macOS app distributed through the Mac App Store. Our use case is a base auto-renewable subscription with optional subscription add-ons (e.g. Effects and Templates). The Advanced Commerce API eligibility page lists Mac Catalyst, but does not explicitly list native macOS. However, the macOS 15.4 release notes mention support for Advanced Commerce API purchases in StoreKit. Could someone please clarify: Is Advanced Commerce API supported for native macOS App Store apps (not Mac Catalyst), including subscriptions with optional add-ons? Does it support introductory free trials, e.g. a 3-day free trial for the base subscription? Can existing auto-renewable subscription subscribers be migrated to Advanced Commerce API and then purchase optional add-ons as part of the same subscription? Many thanks!
1
0
137
3d
Guidelines 3.1.1 and 3.1.3(c): enterprise-only access on iOS
Hello, I’m looking for guidance on how App Review Guidelines 3.1.1 and 3.1.3(c) apply to an enterprise learning platform with the following access model: Organizations purchase access for their employees through a business-to-business agreement. Employees sign in to the iOS app using accounts provided by their organization. They do not purchase access or pay within the app. Individual users may access the platform separately through the web or Android, but the iOS app is intended only for employees covered by an organization’s agreement. Would this model generally qualify for the enterprise services exception under Guideline 3.1.3(c)? If so, what information or configuration would help App Review verify that iOS access is limited to eligible organization-funded users? I understand that each app is reviewed on its specific implementation. I’d appreciate any guidance or relevant experience from developers who have dealt with a similar setup. Thank you!
0
0
42
3d
Refund requests in the testing environment are never approved, only DECLINE resolves (consumables, non-renewing subscription) – FB25652374
We are testing refunds for consumables and a non-renewing subscription, installed from TestFlight (tester's own Apple Account, storefront VNM, iPhone 15, iOS 27.0.1), with App Store Server Notifications V2 on the sandbox URL. "Testing refund requests" says: "select any refund reason on the refund request sheet, and submit the sheet. The App Store automatically approves the refund request in the testing environment." What we see: DECLINE resolves every time, about 8 minutes after the CONSUMPTION_REQUEST: REFUND_DECLINED arrives whether our server answers refundPreference: DECLINE or the tester types DECLINE under Issue > Other. Nothing else resolves, for up to 43 hours so far (11 requests): no REFUND notification, no revocationDate in Get Transaction Info, empty Get Refund History. This covers: a listed reason with our server answering without refundPreference, answering GRANT_FULL (Send Consumption Information V2, inside the 5-minute window, 202), or not answering; GRANT_PRORATED and GRANT_FULL typed under Issue > Other. Every CONSUMPTION_REQUEST has consumptionRequestReason UNINTENDED_PURCHASE, even when the tester chose Issue > Other. Questions: Should a refund request in the testing environment be approved when the server answers without a preference, answers GRANT_FULL, or does not answer? Is the GRANT_PRORATED keyword still supported? Does refund testing require a Sandbox Apple Account instead of a TestFlight install? Full details, transaction IDs and decoded notification history are in FB25652374. Thread 743381 looks similar.
0
0
37
3d
In-App Purchase Resources
General: Forums topic: StoreKit Forums tag: In-App Purchase App Store Pathway Simple and safe In-App Purchases Auto-renewable subscriptions In-App Purchase documentation Getting started with In-App Purchase using StoreKit views documentation Supporting business model changes by using the app transaction documentation Testing at all stages of development with Xcode and the sandbox documentation App Store Server Notifications documentation App Store Server API documentation Simplifying your implementation by using the App Store Server Library documentation TN3185: Troubleshooting In-App Purchases availability in Xcode technote TN3186: Troubleshooting In-App Purchases availability in the sandbox technote TN3188: Troubleshooting In-App Purchases availability in the App Store technote Understanding StoreKit workflows sample code Implementing a store in your app using the StoreKit API sample code What’s new in StoreKit and In-App Purchase video
Replies
0
Boosts
0
Views
2.3k
Activity
Jun ’26
verifyReceipt returns empty then historical transactions with different receipt metadata during an IAP flow
We are investigating two different production app receipts collected before and after an in-app purchase flow for the same signed-in user of our iOS app. Both receipts were validated against https://buy.itunes.apple.com/verifyReceipt. Both responses returned status = 0 and environment = Production, and both have the same bundle_id and app_item_id. However, their transaction histories and app receipt metadata differ substantially. Observed differences Receipt A (before the purchase flow): receipt.in_app is empty. latest_receipt_info, latest_receipt, and pending_renewal_info are absent. application_version is 31436; original_application_version is 25069. Receipt B (after the purchase flow, validated approximately 78 seconds later): receipt.in_app contains one historical auto-renewable subscription transaction. latest_receipt_info contains two historical subscription transactions; the later one includes promotional_offer_id and offer_code_ref_name. application_version is 31323; original_application_version is 18440. receipt_creation_date is approximately three months earlier than Receipt A's creation date, despite B being collected later in the flow. receipt.original_purchase_date differs by approximately two years. download_id and version_external_identifier also differ. The transactions shown in B predate this purchase flow. These responses alone do not establish that a new purchase completed successfully. What we know and what remains unconfirmed The same application user is involved before and after the flow. We have not yet independently confirmed continuity of the underlying Media & Purchases Apple Account. The supplied server logs do not contain the exact StoreKit callbacks or any receipt refresh/restore calls. We do not currently have a focused standalone reproduction project or confirmed device OS/tool versions for this occurrence. We understand that transaction contents can change as receipts are updated. What we need help understanding is the combination of an empty transaction history changing to historical subscriptions, an older receipt creation date, and different original app purchase metadata during one user's purchase flow. Questions Under what circumstances can this combination of changes occur? Could a cached receipt, receipt refresh/restoration, or a change in App Store account context explain it? Which StoreKit callbacks, receipt acquisition/refresh events, and other diagnostics should we capture to distinguish these possibilities without collecting Apple Account credentials? What is the recommended way to obtain and validate the applicable subscription history when the initial app receipt contains no in-app transactions? If Apple needs the original receipt payloads to investigate this occurrence, which private support or Feedback Assistant channel should we use? Raw receipt data, transaction identifiers, account tokens, download identifiers, and user-specific timestamps have been omitted from this public post. We can provide the original request/response files through an appropriate private Apple support channel. Any guidance from the StoreKit team would be appreciated.
Replies
1
Boosts
0
Views
180
Activity
1h
AppTransaction.shared throws during Sandbox startup in a devicectl-launched build
I’m testing StoreKit 2 on a physical iPhone 15 Pro Max running iOS 26.6 (23G71). The app is a development-signed Debug build installed and launched with devicectl, without a local StoreKit configuration file. At startup, try await AppTransaction.shared threw on two scene activations within a single process. Both errors matched StoreKitError and were classified by our app as .unknown or an unrecognized future StoreKitError case. We did not retain the original error details. The code did not reach product, entitlement, or subscription status lookup. No purchase or restore was attempted, and Sandbox sign-in state was not recorded during the run. Is AppTransaction.shared expected to return a Sandbox app transaction for a development-signed app launched with devicectl before any purchase attempt? Are there specific account or launch prerequisites? If this is a supported setup, which StoreKit logs would be most useful for diagnosing the failure? Thanks for any guidance.
Replies
0
Boosts
0
Views
29
Activity
4h
Does App Review accept multiple In-App Purchases sharing one display name?
Does App Review accept multiple In-App Purchases in the same app sharing an identical display name (for example ten non-renewing subscriptions all named 'Example Digital', differing only in price and duration)? The purchase sheet always shows the price alongside the name. App Store Connect Help documents a 2–30 character limit for the display name but states no uniqueness rule.
Replies
1
Boosts
0
Views
116
Activity
5h
Sandbox test notification returns 4040007 after notification URL is saved and verified
For our app, we saved a sandbox App Store Server Notifications URL with V2 enabled and independently read the configuration back. A subsequent test-notification request returned HTTP 404 / 4040007. An authenticated sandbox notification-history request shortly beforehand returned HTTP 200. We restored the original settings after collecting diagnostics. The recorded failure is covered by Feedback Assistant report FB24885397. What could explain this discrepancy, and what additional diagnostics would help Apple investigate?
Replies
1
Boosts
0
Views
233
Activity
5h
Discrepancy between App Store Server API expiresDate (localized) and iOS Settings Subscriptions UI
Hello everyone, I am encountering a persistent date discrepancy between the subscription expiration date returned by the App Store Server API and the date displayed to the user in the native iOS Settings UI. Our app receives the renewal timestamp via the App Store Server Notifications in UTC milliseconds. For a recent transaction, we received renewalDate = 1820988823000, which is September 15, 2027, at 06:13 AM UTC. Following standard practices, our app formats this UTC timestamp to the user's local device timezone. On a device set to India Standard Time (IST, UTC+5:30), the app correctly displays the expiration as September 15. However, on the exact same device, navigating to iOS Settings > Apple ID > Subscriptions shows the expiration date as September 14. Converting 06:13 AM UTC to Pacific Time (PT) results in September 14 at 11:13 PM PDT. This leads me to suspect that the iOS Settings page anchors its display strictly to Cupertino/Pacific Time, completely bypassing the device's local timezone. I noticed another developer raised this exact issue regarding KST back in September 2025 (Thread ID: 800332), but that post remains unanswered. My questions for the community and Apple Engineers: Can anyone officially confirm if the native iOS Settings > Subscriptions screen intentionally displays dates anchored strictly to Pacific Time (PT) rather than the device's local timezone? If so, how are you handling user inquiries when your app correctly displays the local time, but Apple's UI displays the day prior? Any official references or guidance on this behavior would be greatly appreciated to help us clarify this for our QA teams and end-users.
Replies
1
Boosts
0
Views
328
Activity
6h
StoreKit 2 returns USA/USD in TestFlight but DEU/EUR in local Release build on the same device
Hi everyone, We are currently preparing the release of our Flutter-based iOS application and are experiencing an unusual StoreKit 2 storefront issue that only occurs when the app is installed through TestFlight. The problem When our application is installed through TestFlight, StoreKit 2 consistently returns the United States storefront (USA), and all six auto-renewable subscription products are displayed with USD prices. However, both the regular Apple Account and the Sandbox Apple Account are configured for Germany. We have verified the following: All six subscription products are correctly configured in App Store Connect with EUR prices for Germany. The subscriptions are available in Germany, Austria, and Switzerland. We created a completely new Sandbox tester with Germany selected during account creation, using an email address that had never previously been used for sandbox testing. The issue occurs on two different physical devices (iPhone and iPad). No local StoreKit configuration file is used. Our application does not override the storefront, modify localized prices, or contain any hardcoded USD fallback. Controlled comparison We performed additional tests using the same application code on the same iPhone. The results were: Installation method Storefront Currency Local Debug build via Xcode/Flutter DEU EUR Local development-signed Release build via Flutter DEU EUR TestFlight Release build USA USD The locally installed Release build successfully retrieves all six subscription products with their correct German prices. For example, StoreKit returns the following values for one of our subscriptions: Local Release build: Storefront.current.countryCode = DEU Product currencyCode = EUR Product.displayPrice = 6,99 € TestFlight build: Storefront.current.countryCode = USA Product currencyCode = USD Both builds use the same StoreKit 2 integration and product identifiers. Technical environment Framework: Flutter StoreKit integration: StoreKit 2 Flutter plugin: in_app_purchase_storekit 0.4.11+2 Devices: Physical iPhone and iPad iOS/iPadOS: 26.6.2 Subscription products: Six auto-renewable subscriptions Expected storefront: Germany (DEU) Actual TestFlight storefront: United States (USA) We have traced the storefront country code directly to StoreKit 2’s Storefront.current.countryCode and the localized prices to the product information returned by Product.products(for:). There is no application-level storefront override or price conversion. Questions Why would StoreKit 2 return a different storefront in TestFlight compared with a locally installed development-signed Release build on the same physical device? Could TestFlight use a different sandbox storefront or Apple Account context than a locally installed build? Is there a recommended way to diagnose or reset the storefront association used by TestFlight? Has anyone experienced similar behavior where TestFlight consistently returns USA despite using a German Apple Account and newly created German sandbox testers? We have already contacted Apple Developer Support and followed their recommendation to create a completely new German sandbox tester, but the issue persists. Any guidance from Apple engineers or developers who have encountered similar behavior would be greatly appreciated. Thank you!
Replies
5
Boosts
0
Views
169
Activity
6h
-paymentQueue:updatedTransactions: called continuously every time app is in foreground
-(void)paymentQueue:(SKPaymentQueue*)queue updatedTransactions:(NSArray<SKPaymentTransaction*>*)transactions In the sandbox environment this is called continuously every time my enters the foreground. I call -finishTransaction on approximately 22 transactions. Confirmed by: NSUInteger finishCount = 0; NSUInteger transactionCount = transactions.count; for (SKPaymentTransaction *aTransaction in transactions) { // Check state..if purchased or restored.. [[SKPaymentQueue defaultQueue]finishTransaction:aTransaction]; finishCount++; // Post notification telling everyone here! } NSLog(@"Finsihed %lu of %lu",finishCount,transactionCount); The log at the bottom says - finished 22 of 22 transactions. But every time the app enters the foreground the -paymentQueue:updatedTransactions: is called again with another batch of transactions. How Over and over again. Not sure how this is possible but the transactions seem to never clear from the queue. I hope this may be limited to the sandboxed environment. In this loop after finish transaction is called I then post a notification which kicks off receipt validation...and then I even store something in the keychain. Doing this work over and over again in a tight loop is very unexpected and causes my app to lock up. Yea I know this is deprecated. Will move to my Objective-C storekit 2 wrapper but breaking SK1 on purpose seems kind of um, rude. Hope this is only in the sandbox environment. This app got sidelined even though I got some plans to resurrect it in the back of my head.
Replies
1
Boosts
0
Views
313
Activity
6h
question about decline pending transaction in .storekit
Hello, I'm doing the in-app purchase tests with a local .storekit file. When I declined a pending transaction on the "Manage Transactions..." form, my code got a record from the Transaction.updates immediately. This transaction was in 'verified' state and the 'revocationDate' was also nil. So my code treated this transaction as approved and went into wrong logic. In the apple online document about the storekit test, it mentioned that "Your app doesn’t receive a transaction because you declined Ask to Buy.". But in my tests, it always sent a 'approved' transaction to me after transaction declined on the "Manage Transactions..." form. Does any know why this happened? Any advice will be appreciated. Thanks in advance. Best, Steven
Replies
1
Boosts
0
Views
72
Activity
6h
Every subscription renewal fails with expirationIntent 2 (billing error): 4 of 4 free-trial conversions in 48h, no renewal has ever succeeded, initial purchases work (FB24877994)
Following the guidance in the locked thread "Reporting your App Store Server Notifications issue" (thread 774053), Feedback ID: FB24877994. Apple Developer Support case 102971044266 is open in parallel. Summary On our account no auto-renewable subscription renewal has ever succeeded, on either of our two products, while every customer-present initial purchase succeeds. In the last 48 hours 4 of 4 free trials that reached their renewal date with auto-renew ON failed with expirationIntent 2, in four countries (PK, GB, NL, US). What we observe Yearly product with a 7-day free introductory offer (all 175 territories, offerMode FREE_TRIAL, ONE_WEEK, 1 period). Monthly product with no offer. For each of the four, GET /inApps/v1/subscriptions/{originalTransactionId} returns status 3, and the renewal info has autoRenewStatus 1, expirationIntent 2, isInBillingRetryPeriod true, the correct renewalPrice and currency, no priceIncreaseStatus. Environment Production, inAppOwnershipType PURCHASED. The DID_FAIL_TO_RENEW notification (no subtype; billing grace period not enabled) arrives at the expiry time in each case. App Store Connect subscription events from 2026-08-01 to 2026-09-20: 18 free trial starts, 6 full-price starts, 4 voluntary churns from free trial, 4 from full price, 3 "Billing retry from free trial", 1 "Involuntary churn from full price", and no renewal event of any kind. So 5 of 5 unattended renewal charges ever attempted have failed, across two products and five countries, while the 6 paid monthly purchases in the same window (TR, FR, AU, MN, US) were charged normally at purchase time. The customers are in their own storefront countries (device time zones match), and none of the four cancelled. What we have verified Both products Approved, 175 price rows each, no scheduled or preserved prices; Paid Applications Agreement, Free Apps Agreement, banking, tax forms and both compliance items (DSA, MRDP) all show Active with nothing pending in App Store Connect > Business; our servers call no App Store Server API endpoint that modifies a subscription. Thread 847338 (posted today) describes every renewal on an account failing after an agreement issue, with expirationIntent 5. Ours is expirationIntent 2 and our agreements show Active, but the shape is the same: every renewal, no purchase affected. Questions for Apple engineers Is there any account, agreement or product condition that causes renewal charges to fail with expirationIntent 2 while initial purchases succeed? Is anything more than expirationIntent 2 available about these four renewals? The four original transaction IDs are in FB24877994. Is there a known issue affecting free-trial-to-paid renewals around 19 to 21 September 2026? Thank you.
Replies
1
Boosts
0
Views
225
Activity
11h
Request a Test Notification returns 401 with an active In-App Purchase key and Apple Java Server Library
Hello Apple Developer Forums, We are unable to authorize the Production App Store Server API Request a Test Notification endpoint. Environment: Production API: Request a Test Notification Library: Apple App Store Server Library for Java 5.2.0 Client: AppStoreServerAPIClient Result: HTTP 401 Unauthorized before a testNotificationToken is returned. We have verified the following: The key is an active In-App Purchase key created in App Store Connect under Users and Access > Integrations > In-App Purchase. The production server uses the matching .p8 private key, Key ID, Issuer ID, and bundle ID. The bundle ID is com.ansio.serviceproof.ios. The server clock is NTP-synchronized. The request uses the official Apple Java Server Library rather than a manually generated JWT. We rotated the production In-App Purchase key once and received the same 401 result. The notification URL is configured for the Production environment, uses HTTPS, and is reachable. Sandbox uses an independent key and notification configuration. We intentionally do not include the private key, JWT, Key ID, or Issuer ID publicly. According to the documentation, HTTP 401 means the JWT is invalid. Since the official library creates the JWT and the active In-App Purchase key configuration has been verified, could Apple clarify: Is any additional App Store Connect role, agreement, team activation, or entitlement required for a Production In-App Purchase key to authorize App Store Server API requests? Is there a known propagation or authorization issue that can cause a newly created active In-App Purchase key to return 401? What non-sensitive diagnostic details can help distinguish a JWT construction issue from a team-level authorization issue? Thank you.
Replies
1
Boosts
0
Views
199
Activity
11h
StoreKit 2 returns USA storefront and USD price in TestFlight despite Japanese Apple Account
Hello, I'm developing an iOS app that uses StoreKit 2 for an auto-renewable subscription. I'm experiencing an issue where StoreKit returns the US storefront and USD pricing in TestFlight, even though the device's Apple Account and Sandbox Apple Account are configured for Japan. Environment App: YonsanmaruTimer (430タイマー) App version: 1.2.0 (TestFlight build 4) Bundle ID: com.manyouen.YonsanmaruTimer Product ID: com.manyouen.YonsanmaruTimer.plusassist.monthly StoreKit 2 Xcode Archive configuration: Release App Store Connect configuration The subscription is configured with the following prices: Japan: ¥200/month, with a one-month free trial United States: $0.99/month The app is intended for distribution in Japan. Observed behavior When fetching the subscription product using Product.products(for:), I log the current storefront and product price. The result is: Storefront: USA Price: $0.99 Currency: USDAs a result, the subscription price displayed in the app using product.displayPrice is $0.99 instead of ¥200. What I have already checked The device's Apple Account country/region for Media & Purchases is Japan. TestFlight is installed using my regular Japanese Apple Account. I created a new Sandbox Apple Account with Japan as its country/region and signed in through Settings → Developer → Sandbox Apple Account. The storefront still returns USA after restarting the TestFlight app. The app is archived using the Release build configuration. In an earlier subscription purchase test, Apple's native purchase confirmation sheet displayed ¥200, even though the app's product display price was $0.99. Questions Why would Storefront.current return USA in TestFlight under these conditions? Is this expected behavior in the TestFlight sandbox environment? Could this behavior also occur after the app is released on the App Store? Is there any additional account, device, or App Store Connect configuration I should check? I would like to ensure that the subscription price displayed in my app matches the price shown in Apple's purchase confirmation sheet before submitting the app for review. Any guidance would be greatly appreciated. Thank you.
Replies
0
Boosts
0
Views
85
Activity
2d
Sandbox IAP: AuthKit succeeds, then AMSServerErrorDomain -5000 (cancel-purchase-batch)
Every sandbox purchase of our auto-renewable subscriptions cancels right after AuthKit sign-in succeeds. It's blocking our 1.0 release. Filed as FB25469063, no reply yet. Capacitor iOS app, bundle io.xrplive.app, 1.0.0 (TestFlight), products io.xrplive.app.pro.monthly / .yearly, iPhone 17 Pro Max on iOS 27.0.1, StoreKit via @capgo/native-purchases. Console on every attempt: (1) AMSAuthKitUpdateTask: "The AuthKit authentication succeeded." (2) Then: Error Domain=AMSServerErrorDomain Code=-5000 UserInfo={failureType=-5000, m-allowed=false, cancel-purchase-batch=true, customerMessage=Check the account information you entered and try again.} Also AMSErrorDomain Code=100 (Authentication Failed), Code=2 ("Password reuse not available for account"), and a 401 from sandbox.itunes.apple.com/commerce/messages/app/inbox. We already fixed a purchase(confirmIn:) presentation issue. This failure is in sandbox verification after a successful sign-in, which we can't fix from the client. Is -5000 with cancel-purchase-batch a known sandbox account or commerce issue? Is there a sandbox tester or storefront state that fixes it when AuthKit succeeds but verification still fails?
Replies
1
Boosts
0
Views
76
Activity
2d
StoreKit says purchase succeeded but didn't, AppStore.sync() throws error Unable to Complete Request
One user of my app reached out reporting an interesting in-app purchase issue. Has anyone encountered this or have an idea what's going on here? Proceed to purchase the non-consumable IAP in the app downloaded from the App Store iOS shows the price sheet as expected Confirm with the side button iOS shows an alert "You've already purchased this. Would you like to get it again for free?" Tap OK iOS shows an alert "You're all set. Your purchase was successful." Tap OK The app's content remains locked Tap Restore Purchases iOS shows an alert to sign (with the same account shown in step 2) Input the password and tap OK iOS shows an alert "Unable to Complete Request" (which is the error.localizedDescription thrown from AppStore.sync())
Replies
4
Boosts
0
Views
459
Activity
3d
All auto-renewable subscriptions returning expirationIntent = 5 after resolving an agreement issue (StoreKit 1 and StoreKit 2)
Hello, We are currently seeing errors when validating receipts for every auto-renewable subscription purchased through both StoreKit 1 and StoreKit 2. Details below. Case 1 — StoreKit 1 Calling https://buy.itunes.apple.com/verifyReceipt with the subscription receipt returns: "status": 21006, "expiration_intent": "5" Case 2 — StoreKit 2 Calling https://api.storekit.itunes.apple.com/inApps/v1/subscriptions and reading the most recent transaction (LastTransactionsItem) returns status 3. Within JWSRenewalInfoDecodedPayload: autoRenewStatus = 1, expirationIntent = 5 Timeline We believe renewals stopped processing for essentially all auto-renewing subscribers of our app as of 2026-09-18 09:30 KST (UTC+9). After resolving an agreement/licensing issue on our side, new purchases and some receipt validations recovered as of 2026-09-21 11:49 KST. However, most existing receipts still return expirationIntent = 5 when we query receipt validation or subscription status. Questions Is any action required on our side — a server-side change, a configuration change in App Store Connect, or a further review of our agreements? Now that the agreement issue is resolved, when are the renewals that were left pending during the outage expected to be processed? Any guidance would be appreciated. Thank you.
Replies
1
Boosts
0
Views
310
Activity
3d
App Store Server API mass renewal date extension remains incomplete for 11 days
Hello, I submitted a mass subscription renewal date extension request using the App Store Server API on September 9, 2026. The request was accepted successfully. However, when I check the request using getStatusOfSubscriptionRenewalDateExtensions, the status continues to return: complete: false As of September 20, the request has remained incomplete for 11 days. Request details: Extension: 1 day Reason: temporary service interruption Environment: Production The documentation states that a mass renewal date extension may take hours or even days to complete, but I have not been able to find guidance for a request that remains incomplete this long. Only three subscribers were affected by the service interruption, and I have their originalTransactionId values. I am considering using the individual subscription renewal date extension API instead. My questions are: Is it expected for a mass renewal date extension request to remain complete: false for 11 days? Could this mass request still complete at a later date? Is there any way to cancel or determine whether this mass request is stuck? If I extend the three affected subscriptions individually now, is there a risk that the pending mass request could later complete and extend them a second time? I would like to compensate the affected subscribers as soon as possible while avoiding duplicate extensions. Thank you for any guidance.
Replies
1
Boosts
0
Views
341
Activity
3d
TestFlight: StoreKit returns CHN/CNY but purchase sheet shows USD
I see different storefronts in StoreKit product queries and Apple’s purchase sheet when testing through TestFlight. Xcode-installed builds work normally. iPhone — iOS 26.6 (23G71), US Media & Purchases account Both StoreKit 1 and StoreKit 2 return CHN/CNY. The app displays CNY 128 for a non-consumable, but Apple’s sandbox purchase sheet shows USD 29.99 for the same product. This reproduces in a standalone 177-line Swift sample using Product.displayPrice directly, with no third-party dependencies, currency conversion, or local .storekit configuration. Reloading products and signing out of the sandbox account did not resolve it. Mac Catalyst — macOS 26.3 (25D125), China purchase account The original TestFlight app returns USA/USD. Purchasing shows “Account Not In This Store” and asks to switch to China, although the purchase account is already set to China. The Mac symptom has not yet been verified in the standalone sample. Reproduction on the affected iPhone: install via TestFlight, load products and log Storefront.current plus the SK1 storefront, open the purchase sheet for the same product, then compare currencies. No completed purchase is needed. Built with Xcode 26.1 (17B55). Has anyone found a workaround for this TestFlight-only mismatch? Should the app handle storefront updates differently, and which additional diagnostics would help distinguish a device/account-session issue from a StoreKit service issue? Feedback: FB24873070. A focused sample and diagnostic evidence are prepared for Apple Developer Technical Support. Reproduction on other devices/accounts is not yet confirmed.
Replies
1
Boosts
0
Views
309
Activity
3d
TestFlight sandbox: iTunes account creation not allowed during app sign-in / purchase testing
We are testing version 1.0 Build 29 through TestFlight after a Guideline 2.1(b) rejection: Purchase did not respond on iPad Air 11-inch (M3). Paid Apps Agreement is Active, and subscription price, availability, localization and review screenshot are present. Restores worked, but a fresh purchase is not yet verified. On iPhone 13, Build 29 is installed, Developer Mode is on, and Media & Purchases was signed out. The tester reports signing into Developer > Sandbox Apple Account, then trying to sign into the app. During this sequence an email verification prompt was followed by: "iTunes account creation not allowed. This Apple account cannot be used with iTunes Store at this time. Please try again later." The app uses Sign in with Apple separately from StoreKit. We have not isolated which system authentication flow produced the error. What is the supported sequence for regular iCloud/Sign in with Apple alongside a Sandbox Apple Account for TestFlight purchases? Which diagnostics distinguish account setup failure from app authentication or StoreKit failure? Should we escalate through Feedback Assistant or Developer Support, and which logs should accompany the report? We want to verify a fresh purchase on an 11-inch iPad before resubmission.
Replies
1
Boosts
0
Views
239
Activity
3d
Advanced Commerce API support for native macOS apps
Hello, We are considering using the Advanced Commerce API for a native macOS app distributed through the Mac App Store. Our use case is a base auto-renewable subscription with optional subscription add-ons (e.g. Effects and Templates). The Advanced Commerce API eligibility page lists Mac Catalyst, but does not explicitly list native macOS. However, the macOS 15.4 release notes mention support for Advanced Commerce API purchases in StoreKit. Could someone please clarify: Is Advanced Commerce API supported for native macOS App Store apps (not Mac Catalyst), including subscriptions with optional add-ons? Does it support introductory free trials, e.g. a 3-day free trial for the base subscription? Can existing auto-renewable subscription subscribers be migrated to Advanced Commerce API and then purchase optional add-ons as part of the same subscription? Many thanks!
Replies
1
Boosts
0
Views
137
Activity
3d
Guidelines 3.1.1 and 3.1.3(c): enterprise-only access on iOS
Hello, I’m looking for guidance on how App Review Guidelines 3.1.1 and 3.1.3(c) apply to an enterprise learning platform with the following access model: Organizations purchase access for their employees through a business-to-business agreement. Employees sign in to the iOS app using accounts provided by their organization. They do not purchase access or pay within the app. Individual users may access the platform separately through the web or Android, but the iOS app is intended only for employees covered by an organization’s agreement. Would this model generally qualify for the enterprise services exception under Guideline 3.1.3(c)? If so, what information or configuration would help App Review verify that iOS access is limited to eligible organization-funded users? I understand that each app is reviewed on its specific implementation. I’d appreciate any guidance or relevant experience from developers who have dealt with a similar setup. Thank you!
Replies
0
Boosts
0
Views
42
Activity
3d
Refund requests in the testing environment are never approved, only DECLINE resolves (consumables, non-renewing subscription) – FB25652374
We are testing refunds for consumables and a non-renewing subscription, installed from TestFlight (tester's own Apple Account, storefront VNM, iPhone 15, iOS 27.0.1), with App Store Server Notifications V2 on the sandbox URL. "Testing refund requests" says: "select any refund reason on the refund request sheet, and submit the sheet. The App Store automatically approves the refund request in the testing environment." What we see: DECLINE resolves every time, about 8 minutes after the CONSUMPTION_REQUEST: REFUND_DECLINED arrives whether our server answers refundPreference: DECLINE or the tester types DECLINE under Issue > Other. Nothing else resolves, for up to 43 hours so far (11 requests): no REFUND notification, no revocationDate in Get Transaction Info, empty Get Refund History. This covers: a listed reason with our server answering without refundPreference, answering GRANT_FULL (Send Consumption Information V2, inside the 5-minute window, 202), or not answering; GRANT_PRORATED and GRANT_FULL typed under Issue > Other. Every CONSUMPTION_REQUEST has consumptionRequestReason UNINTENDED_PURCHASE, even when the tester chose Issue > Other. Questions: Should a refund request in the testing environment be approved when the server answers without a preference, answers GRANT_FULL, or does not answer? Is the GRANT_PRORATED keyword still supported? Does refund testing require a Sandbox Apple Account instead of a TestFlight install? Full details, transaction IDs and decoded notification history are in FB25652374. Thread 743381 looks similar.
Replies
0
Boosts
0
Views
37
Activity
3d