# In-App Purchase Is Connected

Checks the sate of the connection with the SDK engine and the servers.

Action available for the following operating systems:

![](/files/-MN57Y_zKMwAx_V80t5z)

### Parameters

* **Target Connected** - Target control or variable that will receive the connection sate. It can be one of:
  * 0 - Not connected
  * 1 - Connected
* **Target Not Connected Reason** - When there is no connection, this will receive a string with a debug message describing the probable reason for this state.

{% hint style="info" %}
On Android this action is based on an API call to the In-App purchase SDK.
{% endhint %}

{% hint style="info" %}
On iOS and Windows, the SDK does not provide this information, so this action is based on a reachability test to Apple or Microsoft servers to validate if a network connection can be made.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-others/in-app-purchase-is-connected.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
