In App Purchases

The lits if In-App related Ultimate Mobile Actions

UM_BillingConnet

Use this action to connect to the Billing service. You need to call this actions before any other Billing Actions. 

Events:

  • Success Event  - an event is fired when billing initialization is completed.
  • Fail Event - an event is fired when billing initialization is failed.

UM_CheckBillingConnectState

Use this action to check if tou are currently connected to a billing service.

Events:

  • Billing State Connected  - an event is fired if currently connect to a billing service.
  • Billing State Disconnected - an event is fired if currently not connected to a billing service.

UM_TransactionObserver

Use this action to track billing events. 

Events:

  • Transactions Restored - Event fired when transaction restore actions is complete, IOS only.
  • Item Purchased - Event fired when InApp purchase is completed.
  • Item Purchase_Failed - Event fired when InApp purchase is failed.

Fileds:

  • Purchased Item Id [string]  - Id of the currently processed item.

UM_Get Product Data

Use this action to retrieve the product data. You can save the result of the product info into the variables and operate with them in the future.

Events:

  • Product Found Event - fires when successfully retrieve product data.
  • Product Not Found Event - fires when failed to retrieve product data.

Fileds:

  • Product Identifier [string] - id of the product which you need to get data.
  • Title [string] - a title of the product.
  • Description [string] - description of the product
  • Price [string] - pra ice of the product.

UM_AddPaymentAction

Action will start a purchase flow. You need to set id of in-app product in the field Product Id.

Events:

No events are fired, use the UM_TransactionObserver to observe billing events.

Fileds:

  • Product Id [string] - purchase product id.

UM_Restore Purchases

Use this action to restore purchased products.

Events:

No events are fired, use the UM_TransactionObserver to observe billing events.