subscriptionPurchaseFail

public boolean subscriptionPurchaseFail(String msg)

Ends the subscription purchase moment and generates an error log message that indicates that the subscription purchase failed.

This method should be called once the subscription purchase has been confirmed.

Return

True if the operation was successful; false otherwise.

Parameters

msg

A message that explains the reason for why this operation failed. This value is optional and, if provided, will associate the value as a property of the error log message.


public boolean subscriptionPurchaseFail(    String msg,     Map<String, Object> properties,     boolean allowScreenshot)

Ends the subscription purchase moment and generates an error log message that indicates that the subscription purchase failed.

This method should be called once the subscription purchase has been confirmed.

Return

True if the operation was successful; false otherwise.