Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Question about RedeemGooglePlayPurchaseAsync

Discussion in 'Economy' started by sagargiri11, Jun 20, 2023.

  1. sagargiri11

    sagargiri11

    Joined:
    Mar 4, 2017
    Posts:
    3
    Does this work in unity editor as well or not? Because i get {"Payload":"ThisIsFakeReceiptData","Store":"fake","TransactionID":"752ea904-9fc8-4da2-84a7-1c40a3cbae8c"} this type of info from receipt and i do not get purchase data and purchase data signature keys.
     
  2. Baroni

    Baroni

    Joined:
    Aug 20, 2010
    Posts:
    3,239
    Unity IAP generates fake receipts in the editor as you can see. You cannot use them for server validation.