Hello,
I want to send a log to our logger system when a purchase success.
I can get subscription started log from PurchaseProduct method’s callback. But I can’t find a way to send a log when subscription renewed. For example, Unity IAP system was sending a purchase log at the first opening after the player renewing their subscription.
PurchaseProduct Method:
private MakePurchaseFunc MakePurchaseCallback { get; set; }
public void PurchaseProduct(string productIdentifier, MakePurchaseFunc callback,
string type = "subs", string oldSku = null, ProrationMode prorationMode = ProrationMode.UnknownSubscriptionUpgradeDowngradePolicy)
{
MakePurchaseCallback = callback;
_wrapper.PurchaseProduct(productIdentifier, type, oldSku, prorationMode);
}
I can see this logs from your Customer History
Thank you!