Fix API log in and Booking/ Cancel Booking with curl/ AJAX

Job ID: 37115011

Budget: $30 – $250 AUD

I am looking for a skilled developer who can fix the API log in and booking/cancel booking functionality for my project. The API is built in PHP and I am experiencing a session error with the API login. Additionally, there are issues with the booking/cancel booking functionality where it is not user friendly.

Ideal skills and experience for the job include:
- Strong proficiency in PHP programming language
- Experience working with APIs and handling session errors
- Familiarity with AJAX for seamless booking/cancel booking functionality

I have a WordPress Gym website that I am using GymMaster API to login into gymaMaster members account and then show WordPress content to logged in members. I am also pulling gym classes and booking those classes from the API using PHP/curl.

All this is working but I am having issues with setting sessions with the login token. For example there are 5 pages within the members content but sometimes the token expires and user is logged out on one page and is still logged in on another. I really don't think this would be difficult to fix for an expert with API's.

I would also like some help with the class booking application, currently we are using PHP/ GET to book a class. This is not very user friendly as it has to use url then redirect back. I would like to use AJAX to make booking request to API and make to process smoother. I would also like a bootstrap modal to pop up when 'book' is clicked, the a 'confirm button' to appear in modal, then when 'confirm button' is clicked curl request is made and confirmation of booking appears in the modal.

I would also like the cancel class booking to work with AJAX too. As I've said the curl request is already working to book class/ cancel booking in PHP, it just needs to be converted to AJAX.

So in summary there are 2 tasks:
- Fix login to API and token/ sessions for all pages
- Make API call using AJAX to book class/ Cancel class with Bootstrap Modal

Here is the API:
https://www.gymmaster.com/gymmaster-api/

I will provide all required details to API and WordPress

Hope you can help I need this done within a few days.

Thanks


If you have the necessary skills and experience, please submit your proposal and provide examples of similar projects you have worked on.
Related categories: PHP JavaScript AJAX MySQL jQuery / Prototype