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

	<syntax>
		<example>mobilePurchaseError(<i>purchaseID</i>)</example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Returns detailed information about errors in a purchase.</summary>

	<examples>
<example>put mobilePurchaseError(tPurchaseID) into tPurchaseError</example>
<example><p>if mobilePurchaseError(15) is empty then</p><p>   answer &quot;There were no errors with this purchase&quot;</p><p>end if</p></example>
	</examples>

	<history>
		<introduced version="5.0.1">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		<changed version=""></changed>
	</history>

	<objects>
	</objects>

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

	<classes>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
	</classification>

	<references>
		<function tag="mobileCanMakePurchase">mobileCanMakePurchase Function</function>
		<function tag="mobilePurchases">mobilePurchases Function</function>
		<function tag="mobilePurchaseState">mobilePurchaseState Function</function>
		<function tag="mobilePurchaseGet">mobilePurchaseGet Function</function>
		<command tag="mobileEnablePurchaseUpdates">mobileEnablePurchaseUpdates Command</command>
		<command tag="mobileDisablePurchaseUpdates">mobileDisablePurchaseUpdates Command</command>
		<command tag="mobileRestorePurchases">mobileRestorePurchases Command</command>
		<command tag="mobilePurchaseCreate">mobilePurchaseCreate Command</command>
		<command tag="mobilePurchaseSet">mobilePurchaseSet Command</command>
		<command tag="mobilePurchaseSendRequest">mobilePurchaseSendRequest Command</command>
		<command tag="mobilePurchaseConfirmDelivery">mobilePurchaseConfirmDelivery Command</command>
		<command tag="mobilePurchaseVerify">mobilePurchaseVerify Command</command>
		<message tag="purchaseStateUpdate">purchaseStateUpdate Message</message>
	</references>

	<description>
	<overview>Use the <b>mobilePurchaseError</b> function to retrieve detailed information about errors in a purchase.</overview>

		<parameters>
  <parameter>
    <name>purchaseID</name>
    <description>a numeric purchase identifier</description>
  </parameter>		</parameters>

	<value>Returns the error information for the in-app purchase, <i>purchaseID, </i>if no error occurred empty is returned.</value>
	<comments>The <b>mobilePurchaseError</b> function returns a string containing detailed error information related to the specified purchase.</comments>
	</description>
</doc>