Purchase
Button (or radio list if there are more than product) that would trigger InApp purchase for the appropriate OS. iOS will trigger Apple InApp purchase, Android will trigger Google. You should setup InApp purchase product via Apple connect and Google play console in order for it to be available for purchase.
Name |
Description |
component |
purchase |
products |
list of product available for purchase, see Products configuration |
Products
Name |
Description |
id |
product id |
kind |
type of product, consumable, non-consumable, subscription_silver, subscription_gold |
Options
Name |
Description |
title |
text to display as title (if there are more than one products) |
currency |
currency code |
text |
currency symbol |
tracker |
tracker id where dispatch will be created if payment is successful |
account |
account name, for logging purpose |
onSuccess |
optional layout action to execute if purchasing is succeed |