> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso/6.0/documentation/actions/group-others/in-app-purchase-is-connected.md).

# 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:

<figure><img src="https://1102213384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM6Wz3tBjSWbCweZ8NltT%2Fuploads%2F6oxmptibsT6vFJwbhrM0%2F03_Supported_OS_android_ios.png?alt=media&amp;token=5a2eaa5b-19c9-4b33-882c-c815374e63b7" alt="OS Supported: Android, iOS"><figcaption></figcaption></figure>

### 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 %}
