1. Home
  2. Docs
  3. Javascript API
  4. callback()


The Prompty.callback() function is triggered when a subscription is successfully created and stored within Prompty. It can be redefined with your own code to respond to that event. For example:

Prompty.callback = function(reserved) {
    // Do something here
Was this article helpful to you? Yes No

How can we help?