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

679 Posts
Sort by:
Post not yet marked as solved
0 Replies
92 Views
I am converting an existing app to be distributed through the MacStore. The basic app will be free with 1 optional in-app purchase for the more advanced features. I have made all the changes to work under the App Sandbox while signed as a Developer ID Application and is running fine. I am using Xcode 13.4.1 on an Intel MacBook Pro 2019 running the latest Monterey 12.4. The app also has an embedded command-line tool. The entitlements defined for the app in Xcode are: <dict> <key>com.apple.security.app-sadbox</key> <true/> <key>com.apple.security.automation.apple-events</key> <true/> <key>com.apple.security.cs.disable-library-validation</key> <true/> <key>com.apple.security.device.audio-input</key> <true/> <key>com.apple.security.device.camera</key> <true/> <key>com.apple.security.files.bookmarks.app-scope</key> <true/> <key>com.apple.security.files.bookmarks.document-scope</key> <true/> <key>com.apple.security.files.user-selected.read-write</key> <true/> <key>com.apple.security.temporary-exception.apple-events</key> <array> <string>com.apple.mail</string> <string>com.microsoft.Outlook</string> </array> </dict> </plist> Now I am trying to implement the AppStore related functionality and the app crashes on launch with the error on the title. I have seen similar posts, like the https://developer.apple.com/forums/thread/680284 and others, but I am still in the dark on how to match the app entitlements to the provisioning profile. Anyone knows what I need to do or has any pointers? I attach the crash log and also list some related info below. Thanks in advance. Christos K. System log output: 2022-07-08 10:54:45.921902 (system/com.apple.ManagedClient [1090]) <Notice>: Successfully spawned ManagedClient[1090] because ipc (mach) 2022-07-08 10:54:45.962682 (gui/501/application.com.company.test.macapp.107123014.107124124.0911B94B-7E12-415F-BAA4-71857CEBFBBC [1088]) <Notice>: xpcproxy exited due to OS_REASON_CODESIGNING | When validating /Users/USER/Library/Developer/Xcode/DerivedData/CC-diufhjakujlivreioyidydxmvgof/Build/Products/Debug/CC AppStore.app/Contents/MacOS/CC AppStore: Code has restricted entitlements, but the validation of its code signature failed. Unsatisfied Entitlements: 2022-07-08 10:54:45.962689 (gui/501/application.com.company.test.macapp.107123014.107124124.0911B94B-7E12-415F-BAA4-71857CEBFBBC [1088]) <Warning>: removing service since it exited with consistent failure - OS_REASON_CODESIGNING | When validating /Users/USER/Library/Developer/Xcode/DerivedData/CC-diufhjakujlivreioyidydxmvgof/Build/Products/Debug/CC AppStore.app/Contents/MacOS/CC AppStore: Code has restricted entitlements, but the validation of its code signature failed. Unsatisfied Entitlements: > 2022-07-08 10:54:45.962693 (gui/501/application.com.company.test.macapp.107123014.107124124.0911B94B-7E12-415F-BAA4-71857CEBFBBC [1088]) <Notice>: exited with exit reason (namespace: 3 code: 0x1) - OS_REASON_CODESIGNING | When validating /Users/USER/Library/Developer/Xcode/DerivedData/CC-diufhjakujlivreioyidydxmvgof/Build/Products/Debug/CC AppStore.app/Contents/MacOS/CC AppStore: Code has restricted entitlements, but the validation of its code signature failed. Unsatisfied Entitlements: Output of running security cms -D -i ~/Library/Developer/Xcode/DerivedData/.../Build/Products/Debug/AppStore.app/Contents/embedded.provisionprofile on the profile embedded in the app: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>AppIDName</key> <string>Testing Mac App ID</string> <key>ApplicationIdentifierPrefix</key> <array> <string>1234567890</string> </array> <key>CreationDate</key> <date>2022-07-06T20:52:18Z</date> <key>Platform</key> <array> <string>OSX</string> </array> <key>IsXcodeManaged</key> <false/> <key>DeveloperCertificates</key> <array> <data>....</data> </array> <key>DER-Encoded-Profile</key> <data>...</data> <key>Entitlements</key> <dict> <key>com.apple.application-identifier</key> <string>1234567890.com.company.test.macapp</string> <key>keychain-access-groups</key> <array> <string>1234567890.*</string> </array> <key>com.apple.developer.team-identifier</key> <string>1234567890</string> </dict> <key>ExpirationDate</key> <date>2023-07-06T11:10:10Z</date> <key>Name</key> <string>Test MacApp distribution prov profile</string> <key>TeamIdentifier</key> <array> <string>1234567890</string> </array> <key>TeamName</key> <string>Company Ltd</string> <key>TimeToLive</key> <integer>364</integer> <key>UUID</key> <string>b48b9de2-14b5-4ba9-ba21-f144ac5a0811</string> <key>Version</key> <integer>1</integer> </dict> </plist> CrashLog.txt
Posted
by
Post marked as solved
10 Replies
168 Views
Will my app get a receipt with the initial purchase if app if free, then when user activates an In app purchase, will app get a second receipt based on productID, if so, what in the second receipt differentiates an initial purchase, from the IAP? Or is a single receipt updated to reflect the IAP, with original purchase and purchase date? Thanks Jeff
Posted
by
Post not yet marked as solved
2 Replies
87 Views
I'm a student and someone has asked me to build them an app. I should be capable although I need to determine Apple’s fees on transactions within the app. It's for a Fitness Personal Trainer. She wants to accept bookings and payments within her app. It’s a free app although I’m struggling to determine if Apple takes a cut when a client books in with her. Is it free because it’s a physical service or does it fall under the 30%/15%?
Posted
by
Post not yet marked as solved
2 Replies
80 Views
I have an app where users are allowed to sell their digital content. I am splitting the sale by 25%/75% where my company gets 25% of the sale amount and the content owner gets 75% of the amount. Does IAP allow for split payment recipients like Stripe Connect? Or do I need to implement my own method of paying out the content creators for each sale? Also, if a user is charging $10 for their content, does Apple take 30% ($3) of that, and then we divide the remaining $7 by 25%/75%? Or does Apple take 30% of my company's 25% earnings ($2.50) from the transaction?
Posted
by
Post not yet marked as solved
1 Replies
143 Views
In Auto-renewable subscriptions Auto-renewals fail due to credit card errors, expiration, etc. When Apple is retrying for 60 days, what does the What does the Subscriptions screen in the Settings app show? If you have not updated your credit card error Will I be able to re-purchase a subscription or purchase another subscription from the Settings app? Will the Settings app not show a list of subscriptions that can be re-purchased or another subscription purchased? *I am assuming no grace period. When you renew your credit card, your subscription will be renewed immediately and you will receive the following notification on the server Is the following notified to the server? notification_type: DID_RENEW subtype: BILLING_RECOVERYnotification_type
Posted
by
Post not yet marked as solved
0 Replies
84 Views
We're in the process of implementing in-app purchases and I'm curious if someone can provide more detail on how Apple defines an "Upgrade" vs. a "Downgrade" when a user makes a change to their subscription. An Upgrade goes into effect immediately, but a Downgrade goes into effect at the next renewal. So is an Upgrade if the user changes to a longer duration of a subscription plan and Downgrade is if a user changes to a shorter duration of a subscription plan?
Posted
by
Post not yet marked as solved
0 Replies
89 Views
Hi, I have problum price and currency not match in in-app purchase Usually, the price and currency match in in-app purchase currency code : CNY / price : 6 but for some users, the price and currency not match in my case. currency code : CNY / price : 0.99 <<< not match get price and currency code (my code) [[product price] stringValue] // price [product priceLocale] objectForKey:NSLocaleCurrencyCode] // currency code How do I go about resolving this?
Posted
by
Post not yet marked as solved
0 Replies
116 Views
I got this from App Store review: We noticed that your app did not meet all the terms and conditions for auto-renewing subscriptions, as specified in Schedule 2, section 3.8(b) of the Paid Applications agreement. We were unable to find the following required information in your app's binary: – Length of subscription (time period and content or services provided during each subscription period) I use Flutter to build my iOS app. Could that be why Apple can't find the information in my binary?
Posted
by
Post not yet marked as solved
0 Replies
100 Views
My application is written in SwiftUI, In-App Purchases with StoreKit2. There is a problem with the display of subscriptions on the device. I have added 4 locales: English, German, Russian and French. Displaying the purchase information only in Russian and the purchase process also regardless of the device locale. The application is translated into 4 languages. My developer account is registered in Germany, where I live. How can this be fixed? Thank you in advance
Posted
by
Post not yet marked as solved
0 Replies
103 Views
Hi Our app has multiple subscriptions that have been submitted for review two months ago some of which are cleared for sale and some are not, frankly the ones that are not cleared for sale are accepted while the ones we actually need which are cleared for sale have been in review since we submitted them with no way to reject/resubmit. We are unable to launch our app and everything is put on hold because we got nothing to sell! we have tried to reach apple but no luck they responded to our first mail with ineffective replies and stopped responding after that Is there anything we can do about that? Thanks in advance
Posted
by
Post not yet marked as solved
0 Replies
249 Views
Hi, I've been waiting for more than 2 weeks to get my in-app purchase items to get reviewed, they are stuck in "in review" status for more than 2 weeks! I've opened support tickets, Nothing is being answered (And I explained the issue in a very polite and detailed manner). The following is what made me write this post: I am at the point where I'm stuck. No apple employee is willing to answer or help me, so I've decided to create a new submission, the same binary, but with the following msg: Also, in the "What's new in this version", I wrote: Right now, After waiting an extra day for them to start reviewing my app, they've started the review process, and approved the submission!!!! They did not even bother reading what we write to them! Needless to say, I am furious. We at "Pexon Games" studios are stuck. We can not release our game due to Apple's tendency to not give a flying $%$# about their paying customers. NO Apple representative is helping us, or even bothering to read what we ask of them. I don't know what else can we do, we simply did everything except go to apple headquarters. If anyone has any suggestions we'd be glad to hear, thanks :) And if by any chance any Apple representative sees this post, HELP US, WE BEG YOU, HELP US! 😭
Posted
by
Post not yet marked as solved
2 Replies
127 Views
Apple approved 2 versions of my app already without approving the IAP items. all 4 IAP items are "in review" for a very long.. Updating the name doesn't change the status at all.. Does anybody know why apple forgot to approve my iap alongside with the actual game binaries? 😂 This is getting really infuriating, we need to go live and Apple won't let us. If any moderator sees it, please contact me. we need help ASAP, support is not answering
Posted
by
Post not yet marked as solved
0 Replies
121 Views
My application got rejected and I've got this reply from Apple: "Your app uses auto-renewing subscriptions, but it is not an appropriate use of the service. Specifically, your app still offered its digital content as auto-renewable subscription, however they have an expiration date (date they will no longer be available)." Then I tried to remove them and added them to the Consumable type. But some of the items in the auto-renewable subscription are 'In Review' status. Is there any way to remove/delete the subscription items that status is 'In Review'.
Posted
by
Post not yet marked as solved
5 Replies
184 Views
Hi, I have an app that was coded in app for a free trial for 4 days and then the user is to be charged one time on the 5th day. No recurring subscription. Since this was coded in the app as in-app purchase, how do I set this up on the app store? Set it as free and then it will ask for payment on the 5th day? I just now saw that there is a non-recurring subscription option too. Do I set that up, or will they be charged twice? Thanks for your help.
Posted
by