Subscriptions

RSS for tag

Give users access to content, services, or premium features in your app on an ongoing basis with subscriptions, a type of in-app purchase.

Subscriptions Documentation

Posts under Subscriptions tag

350 Posts
Sort by:
Post not yet marked as solved
1 Replies
357 Views
Hi, Starting this weekend our backend fails to connect to the production Apple verifyReceipt endpoint. It's a C# .NET service running on windows server. The full exception received is: Exception: "The underlying connection was closed: An unexpected error occurred on a send". Inner Exception: "Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host". Is someone else facing a similar issue? sending a request to the Apple production verifyReceipt URL via Postman (located on the same server) succeeds. Thanks in advance...
Posted Last updated
.
Post not yet marked as solved
0 Replies
189 Views
Hello, Our application operates on a service-based model with a subscription system. We've noticed that some users have subscribed to our service, utilized it, and then requested a refund from Apple. However, we have already incurred charges from our vendors for the services utilized by these users. We are exploring options to prevent users from requesting refunds for subscriptions after utilizing our services. Is there any mechanism or strategy available to prevent users from obtaining refunds for subscriptions once they have utilized the service? Your assistance in this matter would be greatly appreciated. Thank you.
Posted
by Ravi1207.
Last updated
.
Post marked as solved
1 Replies
339 Views
Static content is things like unlocking more functionality within an app, that doesn't change over time. Very basic example: Let's say I have an app that displays the workload on the CPU as a percentage in the macOS menu bar. I might want to give the user an option to pay to unlock features that also displays the workload percentage for the GPU and RAM in the macOS menu bar. For this, automatically renewing subscription is not allowed. But would a non-renewing subscription be acceptable, or does it have to be a perpetual (pay one time own forever) in-app purchase for static content?
Posted
by Filip27.
Last updated
.
Post not yet marked as solved
1 Replies
171 Views
As a new developer I apologise if this is simple. But I did call Support and they pointed me in this direction. I have an app in development that is not ready to put in the App store. I am yet to purchase a license and have been testing my app on my own devices with the 7 day expiry. I have someone prepared to test my app who is some distance from me. If I purchase a license will the app last longer than 7 days on both my and their device or will it still disappear every seven days. thanks
Posted Last updated
.
Post not yet marked as solved
3 Replies
320 Views
Hi, I'm working on in-app purchases, and I've created a webhook to receive data sent by the app store whenever there's user subscription activity (CANCEL, DID_RENEW, DID_CHANGE_RENEWAL_STATUS, EXPIRED). Below is the full path of the webhook URL: Webhook URL: https://api.envelopegenerator.live/api/subscription/subscriptionnotification I've set up the webhook to retrieve the status of user subscriptions, but it's not receiving any calls from the app store.
Posted
by Armia_Dev.
Last updated
.
Post not yet marked as solved
0 Replies
228 Views
What does offerCode correlate to in this photo? What does CODE equals in the Offer Code URL? My goal is to track which promo codes generate successful transactions by sending a message with the CUSTOM CODE "Referral123" in the message payload to my database. Can someone please confirm that offerCode equals CODE equals "Referral123"? TIA <3
Posted
by tazs.
Last updated
.
Post not yet marked as solved
0 Replies
210 Views
I also found this problem from this Monday morning, in the sandbox environment, resume the purchase operation, if the product is an in-app purchase non-consumable item, you can get the corresponding historical bill, but if it is an automatic subscription product, it is difficult to receive the historical bill, resulting in the inability to restore the automatic subscription product. You'll need to try a few or even 10 times to restore your purchase before you can get your previous bill. Resuming a purchase shows an error with the error Error Domain=SKErrorDomain Code=0 "An unknown error has occurred". I hope that Apple can check whether there is a related problem with the corresponding sandbox billing server, and I am anxious to wait for this problem to be solved.
Posted
by FrankXin.
Last updated
.
Post not yet marked as solved
3 Replies
250 Views
Only in sandboxed environment, it was fine before, recently there was an error clicking to resume purchase, showing the error cause as Error Domain=SKErrorDomain Code=0 "An unknown error occurred" UserInfo={NSLocalizedDescription=An unknown error occurred,. NSUnderlyingError=0x303bae790 {Error Domain=ASDServerErrorDomain Code=5002 "An unknown error occurred" UserInfo={NSLocalizedFailureReason=An unknown error occurred}}}
Posted Last updated
.
Post not yet marked as solved
0 Replies
229 Views
Our service has an IOS and Android app and a backend server. I have a question about handling refunds for simultaneous payments on Android and IOS. Is there any way to cancel and refund the IOS subscription payment in the backend when Google is paid first and IOS is paid almost simultaneously? For Android, unlike IOS IAP, the backend server can confirm the purchase with a purchase confirmation (ack), so even if IOS is paid first at almost the same time, it is possible to cancel it by checking the payment data in the backend and not sending an ack to Google's server if the IOS payment is already made.
Posted
by hoomin.
Last updated
.
Post marked as solved
2 Replies
263 Views
My app listens for transactions using: for await result in Transaction.updates { // check verification and process Transaction } The result coming from these updates has a jwsRepresentation field, which when decoded server-side reveals the price the user paid, discounted in the case of a custom offer code. How can I get this value without a server roundtrip? Transaction does not have price field, and the subscription product's price does not seem to include custom offer code pricing.
Posted
by j_ptron.
Last updated
.
Post not yet marked as solved
1 Replies
257 Views
I am working on an iOS app. I have created an annual offer code which is only eligible to new users and expired subscribers. May I know what will happen if an existing subscriber tries to redeem the offer using the offer code url? Then they would finish the whole process through the App Store. There are no ways for my app to block it. Would Apple not allow them to do this? If yes, would the existing subscribers have to cancel their subscription in order to redeem this annual offer code? If yes, will they then immediately see the offer? Or will they have to wait until their entitlement expires? Thanks.
Posted
by yorkchan.
Last updated
.
Post not yet marked as solved
2 Replies
258 Views
I recently purchased a subscription for the developer program enrollment. It said on the site it should take 2 days to be approved, when I checked my purchase history on my apple account the subscription isn't showing up. Does anyone else have the same problem? My credit card was charged also.
Posted
by Skroople.
Last updated
.
Post not yet marked as solved
0 Replies
279 Views
Is it possible to have limited in-app quantity of an iap item? Let's say I have a premium gun which is limited to 100 quantity for the whole game. Is it possible to show the quantity remaining and hide once 100 quantity gets sold? Thanks!
Posted Last updated
.
Post not yet marked as solved
1 Replies
177 Views
Hello, I am in the process of developing an application intended for release on the App Store in the coming months. My revenue model involves earning a percentage of the transaction volume processed through the app. I would like to understand how Apple's fee structure applies in this context. Specifically, does Apple charge their commission on the entire transaction volume made within the app, or is it only applied to the percentage I earn? Thanks a lot for your help !!
Posted
by Schobibi.
Last updated
.
Post not yet marked as solved
0 Replies
436 Views
Hey all, Tl;dr: In debug-build using a .storekit file, all is good. When uploading a release build to testflight, purchasing follow the expected flow, but it does not seem the subscription status is reflected. Full description I've implemented auto-renewable subscriptions in my app. In debug, I've setup a scheme to use products.storekit. When I run this scheme on my device, I can subscrbe, cancel etc, and it all works as expected. When I upload my release scheme to testflight, purchasing can be done, but changes do not seem to be reflected inside the app (i.e.e no features get unlocked). Same thing when I run this scheme on my device. This scheme has None set for Storekit configuration. When I set 'Storekit configuration' to the Products.storekit, file I can't make a purches at all: SubscriptionStoreView shows Subscription unavailable. The subscription is unavailable in the current storefront'. I've watched a number of WWDC sessions on the topic, read most (all?) of the documentation, and I just can't seem to find out what it is that needs to be done. Unfortunately, debugging has been rather cumbersome and sometimes impossible lately, especially when trying to debug a release build. Anyone can tell me what it is I am overlooking, or what piece of information or link I missed? Here is the relevant code (which works OK in debug) private func listenForTransactions() -> Task<Void, Error> { return Task.detached { for await anUpdate in Transaction.updates { do { let transaction = try self.checkVerified(anUpdate) await self.checkSubscriptionStatus() await transaction.finish() } } } } And here's checkSubscriptionStatus(): @MainActor private func checkSubscriptionStatus() async { var hasActiveSubscription = false do { for aStatus in try await Product.SubscriptionInfo.status(for: "718A7488") { let state = aStatus.state hasActiveSubscription = (state == .inGracePeriod) || (state == .subscribed) } } catch { print(error) } self.hasActiveSubscription = hasActiveSubscription }
Posted
by Joride.
Last updated
.
Post not yet marked as solved
0 Replies
264 Views
I work with bloggers who write reviews about my app. I would like to track sales that originate on specific sites so I can pay them commissions, like an affiliate program. For example, if a person discovers our app by reading a review, I would like to give the blogger a URL to the App Store a UTM code so that I can track if the article generates sales of my app. if there is a 3rd party affiliate program management platform or software to do this, I might be open to using it. i’ve tried searching the web and other developers about this. It should be simple but it’s elusive if it’s out there at all.
Posted
by diabolho.
Last updated
.
Post not yet marked as solved
0 Replies
181 Views
Our application facilitates doctors in storing patient records, including essential documents and images. However, a subscription is required for users to store images on a monthly or yearly basis. Considering we also have an Android application, we're considering using the same payment gateway for both platforms. Is it acceptable to integrate a third-party payment gateway instead of relying on an in-app purchase system? Thanks in advance.
Posted Last updated
.
Post not yet marked as solved
0 Replies
194 Views
My app enables dancers to monetize their work. Dances can be accessed through the app and learned with the features that we build (slow a video down, audio instructions). The majority of the revenue goes to the dancer, as it is typical for 2-sided marketplaces, and the business takes a 10-20% cut. Currently, we use IAP and users pay to unlock per dance. However, our business model is not feasible with the app store taking 15% and then 30% of the revenue in the long run. Are there exceptions for 2-sided marketplaces where the app store fee is being deducted from the business revenue, and not the overall revenue? If we have people purchase a subscription or credits on our website, what can we do to heighten our chances of that being approved by apple? I know that reader apps are allowed to do that. The app should largely classify as a reader app, since the users access content through it, but we also offer some functionality (such as slowing down the video or using the camera), so I am worried that the app store is going to be difficult about this after we build the system.
Posted
by MartheLue.
Last updated
.