Unity IAP - "developerPayload" does not exist
Hi. I am implementing in-app purchase with Unity IAP. There is a problem on Android.
My sample code...
var developerPayLoad = "myPayloadValue"; myStoreController.InitiatePurchase(product, developerPayLoad);
I want to get the developerPayLoad in ProcessPurchase method.
https://docs.unity3d.com/2020.1/Documentation/Manual/UnityIAPPurchaseReceipts.html This page explain about "json key' in Google Play. But I logged the key value, there is no member "developerPayload"
My log is... {"orderId":"GPA.3398-xxxx-xxxx-xxxxx","packageName":"com.test.testApp","productId":"testID","purchaseTime":1607517449295,"purchaseState":0,"purchaseToken":"xxxxxxxxxxxxxxxx","acknowledged":false}
How can I get "developerPayload"?
Please Help me.. Thank you
Unity version : 2020.1.2f1 IAP version : 2.2.1
Your answer
![](https://koobas.hobune.stream/wayback/20220613021339im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Best way to input my Google Billing License Key into Android Manifest in Unity? 1 Answer
my android Codless IAP is not working while testing on internal test upload 0 Answers
Generating AAB using Unity Cloud Build 0 Answers
Android Device Monitor Application Column Displays Question mark instead of package name 0 Answers