Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

IAP Developer Payload

Discussion in 'Unity IAP' started by Majimus, May 2, 2019.

  1. Majimus

    Majimus

    Joined:
    Sep 29, 2016
    Posts:
    6
    I've put the payload as the customer id in plain-text but the receipt's developerPayload comes back as some sort of hash. There doesn't seem to be much documentation on how to use it so don't know if I'm missing something. I presume I should be getting the developerPayload back as plain-text.

    Here's what I get:

    upload_2019-5-2_13-27-14.png
     
  2. Majimus

    Majimus

    Joined:
    Sep 29, 2016
    Posts:
    6
    I downgraded Unity Purchasing to 1.17.0 from this page and it seems to work fine. I get the plain-text values I expect. I don't know if this is a bug or an intended change.
     
  3. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    It's base 64 encoded now for security.
     
  4. langruoli

    langruoli

    Joined:
    Aug 12, 2019
    Posts:
    1
    why unity do this change , this is really meaningless and annoying