Search Unity

Unity Codeless IAP and product receipt

Discussion in 'Unity IAP' started by Studio6D, Oct 13, 2021.

  1. Studio6D

    Studio6D

    Joined:
    Jun 10, 2021
    Posts:
    11
    Hello,

    I am using codeless Unity IAP catalog (Unity IAP 3.2.3) for my Android game and I'd like to access the product receipt (to get the transaction ID). Do you know how I can get the receipt?

    Thanks a lot for your help
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    For any customization, you would be advised not to use Codeless, because you would be writing code :) Instead you want to use the Scripted IAP, perhaps start with the Sample IAP Project v2 here. Otherwise you could modify IAPButton.cs but that is not supported (and is actually more work since you first need to understand what it is doing) https://forum.unity.com/threads/sample-iap-project.529555/#post-6950270 (ensure to read the note)
     
    Studio6D likes this.