Waqas Saeed Posted July 12, 2021 Share Posted July 12, 2021 (edited) Hello I'm improving the callback file, if possible, could you let me know hints on how to get the id from the response JSON. am able to get the Success using strpros in PHP but since the JSON is in a very different format am not able to understand it how to actually pull our the id from it. {"data": "Success \"c723d42a-c3ee-452c-940b-3d8e8b944868"} I need this. c723d42a-c3ee-452c-940b-3d8e8b944868 I'm using WHMCS___ SMS gateway module for SMS. For Success; I'm doing this : if(strpos($response,'Success')) { @steven99 Edited July 12, 2021 by Waqas Saeed 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.