Link Search Menu Expand Document

Payment Events

Buy Button

Buy Button does not trigger an event when it is pressed. These events are triggered when the purchase process is completed with any result.

On Success

Will be triggered when the purchase of the product is successful.

On Cancel

Will be triggered when the user cancels the purchase of the product.

On Error

Will be triggered when the purchase of the product is failed with an error.

Restore Purchases Button

Restore Purchases Button does not trigger an event when it is pressed. These events are triggered when the restore products process is completed with any result.

On Success

Will be triggered when restoring the products is successful, even if there are no purchased products.

On Error

Will be triggered when restoring the products is failed with an error.