Adam Smith Adam Smith - 1 year ago 108
PHP Question

FedEx Api Fatal error: Call to undefined function setEndpoint()

Fatal error: Call to undefined function setEndpoint();

In which file

Answer Source

Add these functions in your fedex-common.php5

function setEndpoint($var){
  if($var == 'changeEndpoint') Return false;
  if($var == 'endpoint') Return '';

function trackDetails($details, $spacer){
foreach($details as $key => $value){
    if(is_array($value) || is_object($value)){
        $newSpacer = $spacer. '    ';
        echo '<tr><td>'. $spacer . $key.'</td><td>&nbsp;</td></tr>';
        trackDetails($value, $newSpacer);
        echo '<tr><td>'.$spacer. $key .'</td><td>&nbsp;</td></tr>';
        echo '<tr><td>'.$spacer. $key .'</td><td>'.$value.'</td></tr>';
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download