This page describes the Iframe of the onboarding for partners
Once you get the onboarding URL from the initiate endpoint (see API section) you can use it in the src property of an iframe HTML tag, for example:
After checking the terms and conditions checkbox and pressing the Next button any of the following can occur:
In the Pending status (if the onboarding process has not been yet started), the merchant will see the following screen:
The process was completed successfully: The merchant can now access SensePass merchant portal using the credentials he can copy NOTICE: After pressing the Close button a SUCCESS message will be posted to the parent window of the iframe, the message will be as follow: { type: 'SUCCESS', message: 'On Boarding completed successfully', uid: 'c4c1c291-9a18-45bc-9199-76ffcd1b70e2' } After refreshing the screen:
The process failed, for example, the merchant already existed: In addition, after pressing the Close button an ERROR message will be posted to the parent window of the iframe, the message will be as follow: { type: 'ERROR', message: 'Merchant with this license id already exist', uid: 'c4c1c291-9a18-45bc-9199-76ffcd1b70e2' }