WINDEV, WEBDEV AND WINDEV MOBILEONLINE HELP
True if the request for retrieving the list of purchases was performed,False otherwise. To find out the error details, use ErrorInfo.
Name of WLanguage procedure ("callback" procedure) run when receiving the list of purchases performed. This procedure has the following format:
PROCEDURE <ProcedureName>(<Success> is boolean, <ListPurchase> is string)
where: <Success> is boolean: True if the list of purchases performed by the user was retrieved,False otherwise. To retrieve the error details, use ErrorInfo before any other call to a WLanguage function (that would reinitialize the error).<ListPurchase> is a character string containing information about each one of the purchases performed by the user. The information returned for each purchase has the following format (according to the requested information):
<Product identifier> + TAB + <Order number> + TAB + <Purchase date> + TAB + <Purchase identifier> + TAB + <Automatic renewal> + TAB +<End date of subscription>
If several purchases are listed, they are separated by CR characters (Carriage Return).
Additional information that will be returned for each listed purchase (in addition to the product identifier): inAppPurchaseDatePurchase date in YYYYMMDD format.Versions 23 and laterFor a subscription: purchase date of subscription. New in version 23For a subscription: purchase date of subscription. For a subscription: purchase date of subscription. Versions 23 and laterinAppSubscriptionEndDateNew in version 23inAppSubscriptionEndDateinAppSubscriptionEndDateEnd date of subscription in YYYYMMDD format. Information not available. Always corresponds to empty string (""). If the subscription was canceled by the user, this subscription will be listed by inAppListPurchase until the next invoicing date and the access to the subscription will be lost at this time (see Managing subscriptions). inAppPurchaseIdIdentifier of purchase. This identifier is used in inAppConsumeProduct to consume a product that was purchased.Versions 23 and later This identifier has the same value as the one obtained with the inAppOrderId constant.New in version 23 This identifier has the same value as the one obtained with the inAppOrderId constant. This identifier has the same value as the one obtained with the inAppOrderId constant.inAppOrderIdNumber of the order corresponding to the purchase.Versions 23 and laterinAppAutoRenewalNew in version 23inAppAutoRenewalinAppAutoRenewal1 if the subscription is automatically renewed at the next invoicing date. 0 if the subscription was canceled by the user or if the purchase does not correspond to a subscription. Information not available. Always corresponds to 0.
Last update: 05/17/2019
Send a report | Local help
J'accepte les termes de la licence
All you have to do is configure your product as follows: