Post

Replies

Boosts

Views

Activity

Reply to IAP - Auto Renewing Subs + S2S Notifications
The field you should use is original_transaction_id, not transaction_id. That's the value you should use when receiving notifications to search in your database in order to identify the user related to that original_transaction_id. When the use makes is initial purchase from the app, you have to send the user ID and the original_transaction_id to your server, and save that information in the database. When the INITIAL_BUY happens "outside the app", you will not have the information about the user, so you'll have to go to the app to recover the receipt and its original_transaction_id to be able to make the relation between the user ID and the original_transaction_id.
Topic: App & System Services SubTopic: StoreKit Tags:
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.
Apr ’21