<doc>
	<legacy_id></legacy_id>
	<name>mobileStoreCanMakePurchase</name>
	<type>function</type>

	<syntax>
		<example>mobileStoreCanMakePurchase()</example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Determines if in-app purchasing is available.</summary>

	<examples>
<example><p>answer mobileStoreCanMakePurchase()</p><p></p></example>
<example><p></p><p>if mobileStoreCanMakePurchases() is true then</p><p>   mobileStoreRequestProductDetails "com.runrev.sampleapp.consumable"</p><p>else </p><p>   answer "In-app purchasing is not supported"</p><p>end if</p><p></p></example>
	</examples>

	<history>
		<introduced version="6.7">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		
		<experimental version=""></experimental>
		<nonexperimental version=""></nonexperimental>
	</history>

	<objects>
	</objects>

	<platforms>
		<ios/>
		<android/>
	</platforms>

	<classes>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
	</classification>

	<references>
		<command tag="mobileStoreSetProductType">mobileStoreSetProductType command</command>
		<function tag="mobileStorePurchasedProducts">mobileStorePurchasedProducts function</function>
		<function tag="mobileStorePurchaseError">mobileStorePurchaseError function</function>
		<function tag="mobileStoreProductProperty">mobileStoreProductProperty function</function>
		<command tag="mobileStoreEnablePurchaseUpdates">mobileStoreEnablePurchaseUpdates command</command>
		<command tag="mobileStoreDisablePurchaseUpdates">mobileStoreDisablePurchaseUpdates command</command>
		<command tag="mobileStoreRestorePurchases">mobileStoreRestorePurchases command</command>
		<command tag="mobileStoreConfirmPurchase">mobileStoreConfirmPurchase command</command>
		<command tag="mobileStoreMakePurchase">mobileStoreMakePurchase command</command>
		<command tag="mobileStoreConsumePurchase">mobileStoreConsumePurchase command</command>
		<command tag="mobileStoreVerifyPurchase">mobileStoreVerifyPurchase command</command>
		<command tag="mobileStoreRequestProductDetails">mobileStoreRequestProductDetails command</command>
		<message tag="purchaseStateUpdate">purchaseStateUpdate message</message>
		<message tag="productDetailsReceived">productDetailsReceived message</message>
		<message tag="productRequestError">productRequestError message</message>
	</references>

	<description>
	<overview>Use the mobileStoreCanMakePurchase function to determine if in-app purchasing is available.</overview>

		<parameters>
		</parameters>

	<value>Returns <i>true</i> if in-app purchases can be made, and <i>false</i> if not.</value>
	<comments>The command mobileStoreCanMakePurchase is used to determine if in-app purchasing is available.</comments>
	</description>
</doc>