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:
<script>
Prompty.callback = function(reserved) {
// Do something here
}
</script>