Developer Center

setConfig()

It is used to transmit the function parameters to the API side.
private function setConfig($username,$password,$sandbox){
    $this->config["settings"]["username"]   = $username;
    $this->config["settings"]["password"]   = $password;
    $this->config["settings"]["test-mode"]  = $sandbox;
    
    $this->api = new ExampleRegistrarModule_API($sandbox);
 
    $this->api->set_credentials($username,$password);
 } 
testConnection() questioning() - Domain Name Check

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel
Top