LearnDash to FLHSMV API Integration – Custom Plugin

This project was to create a custom plugin to send user’s Driving details to FLHSMV API when their course is completed.

Client wanted to manually review data before sending to API so created a page where it will list all Completed courses and from there admin can open each details manually and send them to API.

It includes features like:

  • List users who have completed LearnDash course and also list details that is required to send to API.
  • Prepare all details as required in API format and show them in a popup for review once before sending to API.
  • This API Integration was SOAP based.

On Admin side a page was created where it will list all users who have completed the course of LearnDash.

All required details that are needed for sending to API are displayed there. For managing all details few custom fields are added to User’s data using ACF and on checkout page those fields are added using WooCommerce Checkout Fields plugin.

Details which are already sent will be displayed so user don’t send it twice. Also, date of sent will be captured and displayed.

A CSV export option is also given so admin can export the table data as CSV to download on local computer.

When admin want to send the completed course details like Driver’s License number and other related details he can see the details in a popup and if needed can change some data.

When all deatils are good to send, admin can send those details to FLHSMV using SOAP API.

If there will be any error from API while sending data, it will be displayed there.

Connecting website to APIs makes it Automate

Want something Similar done for your website too?