Xcode subscription test

Hey, is it possible to test with an Xcode test build if the subscription notifications are correctly being sent to the backend?

Currently nothing appears on my backend after subscribing. For some reason i can also subscribe multiple times to the same product. It looks like nothing is being saved anywhere which is why I also can't cancel a test subscription.

All of this was fairly easy and possible when setting up the google play version of our app.

Hello - here are recommended steps for testing App Store Server Notifications:

  1. Enter a URL for SANDBOX notifications in App Store Connect
  2. Create Sandbox test user(s) in App Store Connect
  3. In Xcode, ensure your build Scheme is set to Options > StoreKite Configuration = None, then run your build from Xcode on a connected device (you cannot test these steps running build on Simulator from Xcode).
  4. Proceed to make a purchase in your app. If you are not already signed in to your Sandbox test user on the device (under Settings > Developer > Apple Sandbox Account), you should be prompted to sign in after selecting the product to purchase in your app. IMPORTANT: when the purchase payment sheet loads, confirm that it says "SANDBOX" and then complete the purchase.
  5. The successful Sandbox purchase will trigger the App Store Server Notification being sent to the URL specified in first step above.

You can also use the App Store Server API to get Notification History (including for Sandbox).

Outside of using Xcode, you can also complete Sandbox testing using TestFlight.

Please let us know if you have any additional questions or need further assistance.

Thank you.

Xcode subscription test
 
 
Q