Need to build a WordPress plugin with the following functionality.
1)authenticate a 6 digit code generated from my platform.
2)Store any lead data submitted on WPfroms, Contact forms 7 to my database.
I have a mobile CRM app and my clients need to sync leads from their website to the crm [login to view URL] 6 digit code will be generated by the user from the app .Users will need to authenticate and activate the plugin by entering this 6 digit code. Lead data like lead name ,number will have to stored in my database hosted on heroku.