# inAppPurchase

![](https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FVuYuOicwYKoJ4ayPNvcM%2Fimage.png?alt=media\&token=2beaccb2-2033-4df3-8bb5-204a8030ef62)

{% tabs %}
{% tab title="Entry Vars" %}
**iosProductIds :** You must enter the ID of the product or subscription created in IOS

**androidProductIds :** You must enter the id of the product or subscription created in Android

**type :** It must be selected if it is a product or subscription.

**Step by Step :**
{% endtab %}

{% tab title="Callbacks & OutVars" %}
**onErrorRetrievingProduct :** It is executed when the product is not received correctly.

OutVars&#x20;

`Null`

**onCanceled :** It is executed when canceling or not completing the purchase.

OutVars&#x20;

`Null`

**onError :**  It is executed when having an invalid product or subscription id.

OutVars&#x20;

`Null`

**onCompleted :** It is executed upon successful completion of the purchase or subscription.

OutVars&#x20;

`Null`
{% endtab %}

{% tab title="Features" %}

{% endtab %}

{% tab title="examples" %}

{% endtab %}
{% endtabs %}
