Testing IAP locally on iOS

Hey all I’m trying to use InAppBillingPlugin with Monogame for iOS.

(I have read this similar post and this blog and I’m still a bit puzzled)

Is someone able to please write up a quick few steps on how to get the whole process in a state you can test locally on your iPhone?

This is what I have so far:

  • create a sandbox account in appstore (appstoreconnect → Sandbox → +)
  • on your iPhone log out of your normal account and login using the sandbox acc
  • deploy the app locally using Rider to your iPhone in “Release | iPhone” or “Debug " iPhone” mode and try to make a purchase (this is with a dev certificate and a Wildcard identifier, let’s say the identifier used is com.testing1.game1)
  • Get an error saying “Invalid Product: …”

Is someone able to add the steps I’m missing?

Also I’m puzzled on how to add a product to a game that is not on the appstore? (the game I’m working on is not ready to for a Test Flight)