• Resolved kkow

    (@kkow)


    Hi, I was looking into possibly using your plugin and wanted to take a look at the code to ensure a solid codebase before installing. I noticed a section of code in the api.php file for sending data to infusionsoft? Why is this necessary and what data is being collected here?

    From the file:
    /**
    * Get Infusionsoft Client Information
    * @param array $info (optional) Infusionsoft Client Information Saved in Database
    * @return array Infusionsoft Client Information

    Thank you!

    • This topic was modified 4 years, 7 months ago by kkow.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author CRM Perks

    (@crmperks)

    it is a comment , not code , please ignore it

    Thread Starter kkow

    (@kkow)

    but there is code under the comment that corresponds to it

    Plugin Author CRM Perks

    (@crmperks)

    You can remove that comment but not code

    Thread Starter kkow

    (@kkow)

    sorry perhaps I was not being clear, what is the purpose of this code? It appears to be sending/posting data

    public function client_info(){
    $info=$this->info;
    $client_id=’d806eeec-5890-43b3-b380-c8ad701c42e5′;
    $client_id=”;
    $client_secret=’dnJSXk9qFqu9ARIPb7cKqw’;
    $call_back=”https://www.crmperks.com/nimble_auth/”;
    //custom app
    if(is_array($info)){
    if( $this->post(‘app_id’,$info) !=”” && $this->post(‘app_secret’,$info) !=”” && $this->post(‘app_url’,$info) !=””){
    $client_id=$this->post(‘app_id’,$info);
    $client_secret=$this->post(‘app_secret’,$info);
    $call_back=$this->post(‘app_url’,$info);
    }
    }
    return array(“client_id”=>$client_id,”client_secret”=>$client_secret,”call_back”=>$call_back);
    }

    Plugin Author CRM Perks

    (@crmperks)

    in start , there was default constant contact developer app ID and secret , it was easy to connect for beginners
    but later we removed this later , now CC developer is required

    Thread Starter kkow

    (@kkow)

    I think I see what you’re talking about. Thank you!

    Is there a way to disable or auto delete the logs after a certain amount of time?

    Plugin Author CRM Perks

    (@crmperks)

    it is Good point , we will add this feature

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Infusionsoft Code in Plugin’ is closed to new replies.