Table of Contents

Method LogPurchase

Namespace
Titipi.MocaLib

LogPurchase(Product, string, string)

Reports a validated in-app purchase to ByteBrew for revenue attribution. receipt is the raw Unity IAP receipt string (order.Info.Receipt). Uses the platform-appropriate tracking call (Google Play or Apple App Store).

public static void LogPurchase(Product product, string receipt, string category = "")

Parameters

product Product
receipt string
category string