Post

Replies

Boosts

Views

Activity

Reply to About App Store Server Notifications
At the bottom of https://developer.apple.com/documentation/appstoreservernotifications there is a link "Your Server. Specify your secure server’s URL in App Store Connect" that points to https://developer.apple.com/documentation/appstoreservernotifications/your_server In the Discussion section, there is a linked text: See Enter a URL for App Store Server Notifications for instructions. that point to https://help.apple.com/app-store-connect/#/dev0067a330b where you can see where you should enter the URL. The image is: https://help.apple.com/app-store-connect/en.lproj/GlobalArt/Subscription_Status_URL.png Perhaps you should browse the previous sections, in the left pane.
Apr ’21
Reply to Cancel server notification with no cancellation_date_ms
I don't know the actual reason, because the documentation about notifications is incomplete, confusing and changing... I don't know if the cancellation_date appears when CANCEL means a refund (of a auto-renewing subscription). But this is just an idea, in case this gives you a clue. In Handling Subscriptions Billing it - https://developer.apple.com/documentation/storekit/in-app_purchase/subscriptions_and_offers/handling_subscriptions_billing#3221919 it says: Detect a Refund Users pay for a subscription when they purchase it, and they can receive a refund by contacting Apple customer service. For example, if the user accidentally buys the wrong product and requests a refund, customer support can cancel the subscription and issue a full or partial refund. Customers may cancel a subscription in the middle of a subscription period, but the subscription remains paid through the end of the same period. Additionally, users may also receive a refund when they upgrade their subscription to another subscription product at a higher level in the same subscription group. To identify whether a subscription has been refunded, look for the cancellation_date field in the receipt. The App Store notifies your server of refunds with a status update notification of type CANCEL, at which point you can handle the refund. For example, if the user upgraded the subscription, immediately unlock service for the higher level subscription product purchased. But I'm not sure of anything about notifications... They are a actual mess... I've found several articles writing about the uselessness of server-to-server notifications (recreate the URL from this fragments, deleting spaces and End-Of-Line chars, that I can't post URLs): https://www. revenuecat.com/blog/apple-subscription-notifications-are-almost-useless https:// blog.apphud.com/subscriptions-notifications/
Apr ’21
Reply to How to test server-to-server (S2S) notifications
Hello! Has anyone know of any tool to generate mocked notifications that can be sent (in the right order, at different moments) to the URL that handles the notification, in order to test that our code behaves as expected? Having I integrated the Google notifications in our system (where you can test all the notifications), I'm unpleasantly surprised that Apple system doesn't allow to test all the possible notifications in Sandbox, and that the order of sent notifications isn't the expected one (as I told in the previous message). Due to the fact that some notifications can't be generated in the Sandbox, I don't have a complete collections of notifications that let us to test our code. Does anybody know how to get such a test collection?
Apr ’21
Reply to Unable to reply to a question to the forum
Hello Eskimo. I apologize for the delay in replying, but I don't usually visit the forum. I posted another comment today, and when I checked my profile I saw that there were answers to this question. Today I went back to the URL where I didn't have the reply button, and I still don't have it. In this thread, as is evident, I have been able to. In other places where I comment I'm used to receive email notifications when there is a reply, and then I go the the forum to read it. As you suggester, I filed a bug, and the URL is: https://feedbackassistant.apple.com/feedback/9062922 Thanks a lot for your answer.
Mar ’21