In this example we are assuming you are familiarized with complete account functionality.


In case of you need to verify the available fields of a given user, the SDK wraps all the API call needed to verify if a user meets all the requirements defined in an entry point, via  needsToCompleteData. This option will perform all the user verifications for you.

The php SDK also provides an API wrapper for that option. Te usage is the following.

This method will return TRUE if the user have already completed all the fields needed for that section, false in otherwise. The  $entry_point contains is the key of the entry-point and it is obtained in the credentials file via cockpit.

If FALSE, you will need to construct and forward the user to the complete account URL using getUrlCompleteAccount  method.

Complete example

Find below how your entire page should appear.