GetReceipt

Description

Returns the raw receipt of a product.

Declaration

public static string GetReceipt(ShopProductNames product)

Parameters

Return

string - The receipt in JSON format

Example

Test.cs
using Gley.EasyIAP;
public class Test : MonoBehaviour
{
    public void GetReceipt()
    {
        string receipt = Gley.EasyIAP.API.GetReceipt(ShopProductNames.YourProduct);
        Debug.Log(receipt);
    }
}

Last updated