ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Mobile specific functions / In-App Purchase functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
WLanguage procedure called by inAppCheckSubscription
Procedure ("Callback") called by inAppCheckSubscription if one of the subscriptions has been renewed. This procedure can be a local, global or internal procedure.
Example
// Project initialization code
inAppCheckSubscription(CheckSubscription)
PROCÉDURE CheckSubscription(bSuccess is boolean, Product is inAppProduct)
IF NOT bSuccess THEN
ToastDisplay(ErrorInfo())
RETURN
ELSE
// Call the inAppListPurchase function
// to check the start and end dates of subscription
END
Syntax
inAppCheckSubscription_Callback(<Success> , <Product>)
<Success>: Boolean
  • True if the subscription was renewed,
  • False otherwise.
<Product>: inAppProduct variable
inAppProduct variable corresponding to the product for which the subscription renewal is checked.
Minimum version required
  • Version 25
Comments
Click [Add] to post a comment

Last update: 06/30/2023

Send a report | Local help