No Revisions Have Been Made To This Page
Can you suggest an edit for this page? Click Here
GML Code Example
|purchase_id||The product ID string for the purchase.|
This function can be used for clearing the purchase status of any unmanaged (consumable) purchases. The "purchase_id" is the product ID string which you specified when activating the IAP using iap_activate, and should be the same as that which you used to identify the product on the target store. This function will trigger an IAP Event of the "type" iap_ev_consume, which will contain the following additional keys:
This product ID can then be used to check which purchase has
triggered the event, and you can deal with it accordingly.
WARNING: You cannot purchase a consumable product multiple times in a row without consumption - you must perform a consume operation between subsequent purchases.