Skip to content
YYBartT edited this page Jan 20, 2026 · 2 revisions

Google

Functions

This module offers a collection of functions designed to address specific tasks and provide utilities for various purposes. Explore the available functions to make the most of the functionalities provided by this module.



Back To Top

elements_google_upload_google_play_iap_purchase

Elements Operation: uploadGooglePlayIapPurchase

This function uploads Google Play IAP Receipt data (package name, product ID and Google Play-issued purchase token). Returns an array of reward issuances, some or all of which may be already redeemed.

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback Function.


Syntax:

elements_google_upload_google_play_iap_purchase(_body=undefined, _callback=undefined)
Argument Type Description
_body ElementsCreateGooglePlayIapReceipt The body to be included in the HTTP request.
_callback Function The function - with signature (status, data, request) - that will be executed upon request completion.



Returns:

N/A


Triggers:

Callback Function

Key Type Description
_status Real
_data Array of ElementsRewardIssuance
_request ElementsRequest


Clone this wiki locally