Link Search Menu Expand Document

Buy Button

Buy Button is a special Design Element which works similar to simple Button with the difference that it automatically displays info about a product, can initiate the purchase of a product, and adjust based on the Product’s purchase status.

Price Button Properties

Product

Select the Product that you want this Button to display and purchase. It will automatically download the latest price from the App Store and display it in the user’s device currency.
Note: During development, it will always display the price of the selected Price tier, but when released, it will automatically fetch the price and currency from App Store.

Product Purchase Status

A product can be either purchased or not. Buy Button will automatically update its design based on the Product’s status.

Not Purchased Prefix

Prefix is an optional text to display before the Price when the Product is not purchased.

Not Purchased Suffix

Prefix is an optional text to display after the Price when the Product is not purchased.

Not Purchased Show Price

Define if you want to show the price when Product is not purchased.
Note: If false, only Prefix and Suffix will be displayed.

Not Purchased Title Color

The color of the button title when product is not purchased.

Not Purchased Background Color

The background color of the button when product is not purchased.

Not Purchased Image Asset

The image asset of the button when product is not purchased.

Not Purchased Background Image Asset

The background image asset of the button when product is not purchased.

Purchased Prefix

Prefix is an optional text to display before the Price when the Product is purchased.

Purchased Suffix

Prefix is an optional text to display after the Price when the Product is purchased.

Purchased Show Price

Define if you want to show the price when the Product is purchased.
Note: If false, only Prefix and Suffix will be displayed.
Tip: You can use it in conjunction with a Purchased prefix value to show that the Product is purchased.

Purchased Title Color

The color of the button title when product is purchased.

Purchased Background Color

The background color of the button when product is purchased.

Purchased Image Asset

The image asset of the button when product is purchased.

Purchased Background Image Asset

The background image asset of the button when product is purchased.

Auto Show Spinner

Define if you want to show a spinner during the transaction automatically.
Default value: True

Test Purchased Design

You can use this switch to check out how the Button will look like in every state.
Note: The value of this switch is not used when the application is running.

Subscription Period Style

When you select a Subscription Product, you can change the format that the Button will use.

Available formats

  • Prefix Price Suffix
  • Prefix Price / Period Suffix
  • Prefix Price every Period Suffix
  • Prefix Price Suffix every Period
  • Prefix Price per Period Suffix
  • Prefix Price Suffix per Period
    Period is the selected Subscription period, for example, 1 week or 6 months.
    Note: Prefix and Suffix are optional.

On Click Purchase Action

Buy Button automatically implements its On Click Event.
When a Buy Button is pressed, it automatically starts a purchase action for the selected Product.
Note: If the Product is already purchased, the Button performs no actions.
Tip: If you need to perform additional actions after the purchase, you can use the Events.

Events

Buy Button supports Events that are triggered automatically after the purchase process.

Available events