Difference between revisions of "StoreKit:purchase"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.2.2<br/> === Description === <br /> Process a payment request. When that transaction is complete or if a failure occurs, `Event.T...") |
|||
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | StoreKit:purchase(productIdentifier,quantity) | |
</source> | </source> | ||
− | '''productIdentifier | + | '''productIdentifier''': (string) A string used to identify a product that can be purchased from within your application. ''''''<br/> |
− | '''quantity | + | '''quantity''': (number, default = 1) The number of items the user wants to purchase. This value should be greater than or equal to 1. ''''''<br/> |
Revision as of 10:20, 23 August 2018
Available since: Gideros 2012.2.2
Description
Process a payment request. When that transaction is complete or if a failure occurs, `Event.TRANSACTION` event is dispatched.
StoreKit:purchase(productIdentifier,quantity)
'productIdentifier: (string) A string used to identify a product that can be purchased from within your application. '
'quantity: (number, default = 1) The number of items the user wants to purchase. This value should be greater than or equal to 1. '