[tags:in-app purchase,subscriptions]

1,358 results found

Post not yet marked as solved
1 Replies
2.9k Views
We are finding a solution to implement when a user has cancelled his/her subscription during the trial period. We have implemented notification types using this document https://developer.apple.com/documentation/appstoreservernotifications/notification_type Please address following queries 1- When user is on trial and cancel a subscription, cancellation notification is received? if received which notification is triggered? DID CHANGE RENEWAL STATUS this notification is received for subscription change as well, how to identify a subscription is cancelled? 2- Same thing (cancellation), we want to test in the sandbox environment?
Posted
by
Post not yet marked as solved
7 Replies
iOS 14 Simulator can't load SKProducts from the web, but you can add the StoreKit Configuration File and add your products there. This will fix an issue. See my answer here for detailed instructions: https://stackoverflow.com/a/58065711/558333 PS: can't add images here. I think that's an essential thing for any community.
Post not yet marked as solved
0 Replies
222 Views
Hello, We are providing a digital health coaching service. Users subscribe for direct 1-1 coaching. They communicate with their coaches via a chat feature in the app. The chat feature is locked until users subscribe. Does this count as digital content, or can we integrate a third-party payment gateway for this? Thanks for the clarification.
Posted
by
Post not yet marked as solved
1 Replies
You cannot reuse rejected product identifier. You must create a new product identifier in order to proceed. No, you must create a new product identifier.
Post not yet marked as solved
1 Replies
Hello, when a customer cancels their subscription this will disable auto-renew so their subscription will not renew and will expire at the end of their trial period. This customer event generates the server notification type DIDCHANGERENEWAL_STATUS. Check out this one for more detail on the types sent and the events that will trigger them: https://developer.apple.com/documentation/appstoreservernotifications/notification_type
Post not yet marked as solved
2 Replies
2.8k Views
https://developer.apple.com/documentation/storekit/in-app_purchase/testing_in-app_purchases_with_sandbox I try to execute 1 point in the Begin Testing chapter from the documentation at the link above, but I do not see Subscription Management page. Has anyone encountered such a problem? How can it be solved?
Posted
by
Post not yet marked as solved
1 Replies
Some info like the subscription expiration date can only be retrieved by validating the receipt with Apple. You can validate with Apple right from your app (which isn't recommended by Apple). You can also use a receipt validation service like Fovea.Billing which provides a REST API doing the receipt processing for you.
Post marked as solved
4 Replies
1.6k Views
I am using in-app purchase (non-renewable subscription) in our hybrid application which is developed using ionic framework using the in-app-purchase-2 plugin provided by them ionic in-app purchase - https://github.com/j3k0/cordova-plugin-purchase/blob/master/doc/api.md#initiate-a-purchase. How do we know if the payment got declined by the apple server ? Is there any response from apple server?
Posted
by
Post marked as solved
4 Replies
If the payment got declined, you shouldn't receive the approved event in your javascript application. An error event should be triggered.
Post not yet marked as solved
4 Replies
@jchoelt Ok, thank you. And if I hadn't added any payment cards in my device and I'm initiating a purchase does it redirects automatically to my app store to add card details? When I checked it nothing happened that's why I'm asking. Also, you've said that if there is error , the error event is triggered right? Even if the user cancels the payment, the same error event is triggered. How do we know that the payment is cancelled due to error in Apple's server or due to any issue in our card (like expired card or the bank experience server issue) ?