Find Jobs
Hire Freelancers

fix API issue with wordpress plugin

$30-250 USD

Completed
Posted over 9 years ago

$30-250 USD

Paid on delivery
plugin makes api calls to external website suddenly died. need to diagnose and resolve. plugin file excerpt: ============================ // GLOBAL VAIRABLES $show_schedule = 0; // WHEN THIS IS SET TO 1 THEN EXTERNAL CSS/JAVASCRIPT IS ADDED TO PAGE HEADER // INCLUDE FILES include('includes/[login to view URL]'); // LOAD ALL JAVASCRIPT AN CSS FILES FOR THE PLUGIN include('includes/[login to view URL]'); // DEFINE THE CLASS TO ISSUE SOAP REQUESTS TO THE MINDBODY API include('includes/[login to view URL]'); // FUNCTIONALITY TO RETRIEVE SCHEDULE DATA USING THE MINDBODY API CLASS include('includes/[login to view URL]'); // FUNCTIONALITY TO DISPLAY THE ADELINE YOGA CLASS SCHEDULE // THIS FUNCTION IS CALLED BY THE '[mindbody-schedule]' SHORTCODE AND DISPLAYS THE ADELINE YOGA STUDIO CLASS SCHEDULE function display_mindbody_schedule($atts) { global $show_schedule; $show_schedule = 1; // SHORTCODE EXISTS IN PAGE/POST - INCLUDE EXTERNAL CSS/JAVASCRIPT FILES ================================== API File Excerpts =============================== <?php ini_set("user_agent", $_SERVER['HTTP_USER_AGENT']); // API requests require a User-Agent header // MINDBODY SITE ID const SITE_ID = 'XXXXXXXX'; // MINDBODY SOURCE CREDENTIALS const SOURCE_NAME = 'XXXXXXXXX'; const KEY = 'XXXXXXXXX='; // MINDBODY USER CREDEENTIALS const USERNAME = 'XXXXXXXXX'; const PASSWORD = 'XXXXXXXXX'; protected $client; protected $sourceCreds = array("SourceName"=>self::SOURCE_NAME, "Password"=>self::KEY, "SiteIDs"=>array(self::SITE_ID)); protected $userCreds = array("Username"=>self::USERNAME, "Password"=>self::PASSWORD, "SiteIDs"=>array(self::SITE_ID)); // THIS FUNCTION PERFORMS A SOAP API CALL TO RETRIEVE A LIST OF CLASS SCHEDULES function GetClasses($params = array()) { $this->client = new SoapClient(self::CLASS_WSDL_FILE, array("soap_version"=>SOAP_1_1, 'trace'=>true)); $this->client->__setLocation("[login to view URL]"); $request = array_merge(array("SourceCredentials"=>$this->sourceCreds, "UserCredentials"=>$this->userCreds),$params); try { $result = $this->client->GetClasses(array("Request"=>$request)); //error_log("RESULT: " . $result); error_log(print_r($this->client->__getLastResponse(),true)); } catch (SoapFault $s) { error_log('ERROR:: [' . $s->faultcode . '] ' . $s->faultstring); } catch (Exception $e) { error_log('ERROR:: [' . $s->faultcode . '] ' . $s->faultstring); } return $result; } // THIS FUNCTION PERFORMS A SOAP API CALL TO RETRIEVE A LIST OF CLASSES function GetClassSchedules($params = array()) { $this->client = new SoapClient(self::CLASS_WSDL_FILE, array("soap_version"=>SOAP_1_1, 'trace'=>true)); $this->client->__setLocation("[login to view URL]"); $request = array_merge(array("SourceCredentials"=>$this->sourceCreds, "UserCredentials"=>$this->userCreds),$params); try { $result = $this->client->GetClassSchedules(array("Request"=>$request)); //error_log("RESULT: " . $result); error_log(print_r($this->client->__getLastResponse(),true)); } catch (SoapFault $s) { error_log('ERROR::: [' . $s->faultcode . '] ' . $s->faultstring); } catch (Exception $e) { error_log('ERROR::: ' . $e->getMessage()); } return $result; } // THIS FUNCTION RETURNS THE LAST ISSUED SOAP XML RESPONSE function getXMLResponse() { return $this->client->__getLastResponse(); } } ?>
Project ID: 6637029

About the project

17 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello! I guess you have checked on things like your subscription with the data site is still valid and other formal stuff. This patch of code you have posted can't yield any clues of what the problem is, on its own. Anyway, I can start working on this pretty much straight away, if you're interested. Kind Regards, Dobri
$40 USD in 0 day
5.0 (57 reviews)
5.1
5.1
17 freelancers are bidding on average $115 USD for this job
User Avatar
I have read your project details, and I am interested in offering my services. I provide 100% satisfaction guaranteed on all my work. Milestone is required to begin; to be released when the job has been satisfactorily completed. I estimate a 24-48hr turnaround (including weekends) on this project. ftp details to your server will be required. Contact me at your soonest convenience so we may get your solution delivered quickly. Thanks, coderXO
$100 USD in 2 days
4.9 (629 reviews)
8.1
8.1
User Avatar
Hello! With 99% completion rate, 720 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page https://www.freelancer.com/u/rajeshsonisl.html !!)... you can never go wrong choosing me :) I look forward to your reply. Thanks. Kind Regards, Rajesh Soni
$157 USD in 1 day
5.0 (492 reviews)
7.5
7.5
User Avatar
A proposal has not yet been provided
$147 USD in 3 days
4.9 (244 reviews)
7.4
7.4
User Avatar
i am a skilled developer, i have fix lot of api issue for my clients, i can help you on this. please pass me more details, thanks
$225 USD in 3 days
5.0 (222 reviews)
7.1
7.1
User Avatar
hi I will fix the plugin api issue in connecting to the external Web service using soap. let me know if you are interested. thanks
$158 USD in 1 day
5.0 (141 reviews)
6.8
6.8
User Avatar
Hello Sir/Ma'am! we're expert in web development. with more than 100 successful project; we assure you the highest quality of the work. We are expert in PHP, WordPress, SQL, HTML4-HTML5/CSS2-CSS3 works, Can provide you pixel perfect, w3c validated, css based layout, cross browser compatible, neat and clean css, seo optimized and well commented codes. Plz discuss details in pmb. Thanks
$111 USD in 0 day
5.0 (84 reviews)
6.2
6.2
User Avatar
I can get this fixed for you right away.
$75 USD in 1 day
4.8 (124 reviews)
6.2
6.2
User Avatar
Hi there can you please provide me the link to site were it is installed, cannot debug it like that you know
$120 USD in 1 day
5.0 (31 reviews)
6.2
6.2
User Avatar
A proposal has not yet been provided
$100 USD in 3 days
4.8 (61 reviews)
5.8
5.8
User Avatar
Hi I am interest your project and ready to start right now to solve this problem. I am sure that, I can complete it in a day. hope to hear from you soon. Thanks
$111 USD in 1 day
5.0 (31 reviews)
4.8
4.8
User Avatar
Hello, I can diagnose the source of error of your plugin and fix it. If interested, feel free to contact me. Regards, Alexander
$90 USD in 1 day
5.0 (8 reviews)
3.7
3.7
User Avatar
A proposal has not yet been provided
$55 USD in 3 days
5.0 (1 review)
0.6
0.6
User Avatar
Hi, I have sound knowledge about the wordpress and its plugin structure also i have good hand on any types of third party api. I have confidant i will get it completed I am new here but i have sound knowledge I hope we will meet soon thnaks
$88 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Assurance of work being completed on time with full guarantee. Straight away would start working on the project, let me know if i could start .I will complete it in specified time frame, you can just hand over me the project and feel safe for work completed in specified time frame. Our offered services are: .XHTML .HTML .CSS .HTML5 .HTML TO WORDPRESS .PSD TO HTML .RESPONSIVE WEB .BOOTSTRAP .JAVASCRIPT .JQUARY .AJAX .PHOTOSHOP .C/C++ .PHP5/MYSQL .ORACEL9I .MYSQL .MICROSOFT SQL SERVER .MS ACCESS .SQL SCRIPT .GRAPHIES DESIGN .BANNER .PHOTOSHOP .DREAMWEAVER.
$155 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
berkeley, United States
5.0
15
Payment method verified
Member since Jan 14, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.