Your store’s Initialize
method is called by Unity IAP with an IStoreCallback
that your store uses to communicate back to Unity IAP asynchronously.
void Initialize(IStoreCallback callback) {
// Keep a reference to the callback for communicating with Unity IAP.
this.callback = callback;
}
Is something described here not working as you expect it to? It might be a Known Issue. Please check with the Issue Tracker at issuetracker.unity3d.com.