Table of Contents

Method LogPurchase

Namespace
Titipi.MocaLib

LogPurchase(Product, string, string)

Validates and tracks an in-app purchase with Adjust. receipt is the raw Unity IAP receipt string (order.Info.Receipt); on Android the purchase token is extracted from it for Play Store validation. On iOS, the transaction ID is used for App Store validation. Requires an adjustEventToken mapped to a Revenue event in the Adjust dashboard.

public static void LogPurchase(Product product, string receipt, string adjustEventToken)

Parameters

product Product
receipt string
adjustEventToken string