- Home /
Is it possible to set a developer payload in unity in-app purchasing?
I want the receipt from google to contain a user identifier. For this I should set a developer payload.
I read somewhere that you can get this info in ProcessPurchase method only in android. How about other platforms?
It is really necessary. Especially when a use want to buy an item as a gift for other user. We need to know to whom we should deliver the product.
Answer by Dmittry62 · Jul 12, 2017 at 07:57 AM
I figured it out. m_StoreController.InitiatePurchase(product, payload) As a payload I use user id.
Your answer
Follow this Question
Related Questions
premium feature inside game 2 Answers
Unity IAP doesn't always consume 1 Answer
Unity IAP Initalisation Fails due to No Product Avalible (Google) 0 Answers
OnPurchaseFailed is called but users get charged 0 Answers
IL2CPP Google AdMob problem 0 Answers