Addon ID

  • emi_indo_androidbillingverifier

Info

Statistics

  • Download count84 total downloads
  • Latest download count 11 downloads of latest version
  • Average download count1 downloads per day average

Owners

A list of all Actions, Conditions and Expressions supported in this addon.

Subscription Manager

  • Actions

    Get subscription status: {0}, {1}, {2}, {3} Minute

    Verifies the status of an auto-renewing subscription.

    Verify Apple status for user {0} (Secret: {1}, Token: {2}, Product: {3}, Sandbox: {4}, Interval: {5}m)

    Verify Apple iOS subscription using an App-Specific Shared Secret.

  • Conditions

    On verification started

    On verification started

    On verified: {0}

    (Most Important) When server verification is successful, the developer will provide premium items/features.

    On verification: {0} failed

    When the token is invalid or the subscription has expired.

    On verify error

    If there is a network problem or the Service Account is incorrect.

  • Expressions

    ProductId

    Returns the ID of the product being verified.

    ExpiryTimeMillis

    Returns the expiration time in milliseconds (Unix Timestamp).

    Status

    Returns the verification status (1 for success, 0 for fail).

    ExpiryDate

    Returns the human-readable expiration date and time.

    PaymentState

    Returns the payment state (0: Pending, 1: Received, 2: Free Trial).

    IsPremium

    Returns 1 if the user has an active premium subscription.

    StatusString

    Returns the text 'ACTIVE' or 'EXPIRED' based on the verification result.

    LastStatusRawJson

    Last status raw JSON

Purchase

  • Actions

    Purchase product: {0}

    This function is called when the user clicks the Buy button in your game.

    Initialize store: id {0}, platform {1}

    This function should be called at Start of Layout in Construct 3 so that the system is ready to listen before the buy button is clicked.

  • Conditions

    On: {0} approved

    When Google Play payment is successful (before verification starts).

    On store ready

    When the Google billing system is ready to use (to activate the buy button).

    On purchase cancelled

    If the user closes the payment popup without purchasing.

    On product: {0} owned

    Triggered when the system detects that the user already owns this product.

    On store error

    Get the last error message from the billing system.

  • Expressions

    ApprovedToken

    The token provided by Google Play.

    ApprovedTransactionId

    Get the Order ID of the recently approved transaction.

    ApprovedPurchaseDate

    Gets the timestamp of the purchase time (in ms).

    ApprovedRawJson

    Get all transaction data in JSON string format to store in Database.

    LatestToken

    Returns the purchase token (Android) or the unified App Receipt Base64 string (iOS) required for server validation.

State

  • Conditions

    Is {0} Premium active

    Check whether a specific product or premium status in general is active.

    Is {0} Owned

    Check whether a user owns a specific product based on Play Store data.

    Is Store Ready

    Check that the Google Play billing system is initialized and ready to use.

    Is Verifying

    Check if the plugin is currently waiting for a verification response from Google servers.

error

Debug

Subscription Manager

  • Actions

    Verify Android status for user {0} (Credentials: {1}, Token: {2}, Product: {3}, Pkg: {4}, Interval: {5}m)

    Verify Google Play subscription using dynamic JSON credentials (e.g. from Firebase Remote Config).