Customize Your Success Screen
The Checkin.com Framework allows you to fully customize the welcome screen in the sign-up flow. This is perfect if you want to use different targeted messages.
To use a custom message, pass a JSON object with correct properties as a callback parameter. The full version for welcome screen would look like the below example:
Object.defineProperty(window, 'regilyDoneCallback', {
value: function (regilyCallbackData) {
return new Promise(function (resolve, reject) {
//Store registration as in other examples
//Show special success message
var SHOULD_SHOW_SPECIAL_SUCCESS_MESSAGE = true;
if (SHOULD_SHOW_SPECIAL_SUCCESS_MESSAGE) {
const responseData = {
welcome: {
title: 'Hi! You are now a registered customer.',
body: 'Thank you. You have been successfully registered, enjoy our serivce.',
button: 'Take me away!',
url: 'www.example.com/page.html'
}
}
resolve(responseData)
}
resolve() //Will show standard message
})
}
})
No translation on custom messages
There are no translations on customized messages. That needs to be handled on the partner side
Updated 9 months ago